Split components into object-metadata and object-record (#2425)
* Split components into object-metadata and object-record * Fix seed
This commit is contained in:
@ -0,0 +1,6 @@
|
||||
import { atomFamily } from 'recoil';
|
||||
|
||||
export const cursorFamilyState = atomFamily<string, string | undefined>({
|
||||
key: 'cursorFamilyState',
|
||||
default: '',
|
||||
});
|
||||
@ -0,0 +1,6 @@
|
||||
import { atomFamily } from 'recoil';
|
||||
|
||||
export const hasNextPageFamilyState = atomFamily<boolean, string | undefined>({
|
||||
key: 'hasNextPageFamilyState',
|
||||
default: false,
|
||||
});
|
||||
@ -0,0 +1,9 @@
|
||||
import { atomFamily } from 'recoil';
|
||||
|
||||
export const isFetchingMoreObjectsFamilyState = atomFamily<
|
||||
boolean,
|
||||
string | undefined
|
||||
>({
|
||||
key: 'isFetchingMoreObjectsFamilyState',
|
||||
default: false,
|
||||
});
|
||||
Reference in New Issue
Block a user