feat: update pagination type
This commit is contained in:
@@ -27,6 +27,7 @@ export const ActionProvider = ({ children }: { children: ReactNode }) => {
|
|||||||
const [getScreenshot, setGetScreenshot] = useState<boolean>(false);
|
const [getScreenshot, setGetScreenshot] = useState<boolean>(false);
|
||||||
const [paginationMode, setPaginationMode] = useState<boolean>(false);
|
const [paginationMode, setPaginationMode] = useState<boolean>(false);
|
||||||
const [paginationType, setPaginationType] = useState<PaginationType>('');
|
const [paginationType, setPaginationType] = useState<PaginationType>('');
|
||||||
|
const updatePaginationType = (type: PaginationType) => setPaginationType(type);
|
||||||
|
|
||||||
const startPaginationMode = (type: PaginationType) => {
|
const startPaginationMode = (type: PaginationType) => {
|
||||||
setPaginationMode(true);
|
setPaginationMode(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user