import { SWRResponse } from 'swr'; import { useStaticSWR } from './use-static-swr'; export const useIsSlackEnabled = (isEnabled?: boolean): SWRResponse => { return useStaticSWR('isSlackEnabled', isEnabled, { fallbackData: false }); };