feat: remove appwrite and add nextjs backend
This commit is contained in:
6
frontend/src/utils/loading.util.ts
Normal file
6
frontend/src/utils/loading.util.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { createContext, Dispatch, SetStateAction } from "react";
|
||||
|
||||
export const GlobalLoadingContext = createContext<{
|
||||
isLoading: boolean;
|
||||
setIsLoading: Dispatch<SetStateAction<boolean>>;
|
||||
}>({ isLoading: false, setIsLoading: () => {} });
|
||||
Reference in New Issue
Block a user