mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-02-05 00:28:30 -06:00
init loading state
This commit is contained in:
@@ -10,6 +10,7 @@ const useCreateStatusPage = () => {
|
||||
const [networkError, setNetworkError] = useState(false);
|
||||
|
||||
const createStatusPage = async ({ form }) => {
|
||||
setIsLoading(true);
|
||||
try {
|
||||
await networkService.createStatusPage({ authToken, user, form });
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user