Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
fetchData.ts 214 B
import { FetchDataState } from '@/types/fetchDataState';
import { DEFAULT_ERROR } from './errors';

export const DEFAULT_FETCH_DATA: FetchDataState<[]> = {
  data: [],
  loading: 'idle',
  error: DEFAULT_ERROR,
};