feat: update pagination type

This commit is contained in:
karishmas6
2024-09-06 23:12:13 +05:30
parent b02a818951
commit 0261204e15

View File

@@ -27,6 +27,7 @@ export const ActionProvider = ({ children }: { children: ReactNode }) => {
const [getScreenshot, setGetScreenshot] = useState<boolean>(false);
const [paginationMode, setPaginationMode] = useState<boolean>(false);
const [paginationType, setPaginationType] = useState<PaginationType>('');
const updatePaginationType = (type: PaginationType) => setPaginationType(type);
const startPaginationMode = (type: PaginationType) => {
setPaginationMode(true);