mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
suspend infinite loader on fetch
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { createContext, useContext } from 'react';
|
||||
|
||||
import { ListKey } from '/@/renderer/store';
|
||||
import { ItemListKey } from '/@/shared/types/types';
|
||||
|
||||
interface ListContextProps {
|
||||
customFilters?: Record<string, unknown>;
|
||||
id?: string;
|
||||
itemCount?: number;
|
||||
pageKey: ListKey;
|
||||
pageKey: ItemListKey | string;
|
||||
setItemCount?: (itemCount: number) => void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user