diff --git a/src/contexts/index.tsx b/src/contexts/index.tsx index 407ef48..d14e12b 100644 --- a/src/contexts/index.tsx +++ b/src/contexts/index.tsx @@ -1,7 +1,7 @@ import {createContext, useState} from "react"; -const setCurrentPage: React.Dispatch> = () => {} -const setTotalCount: React.Dispatch> = () => {} +const setCurrentPage: Function = () => {} +const setTotalCount: Function = () => {} const PaginationContext = createContext({ state: { currentPage: 1, totalCount: 1}, actions: {