init loading state
This commit is contained in:
1 parent
9e1dc92dbf
commit
b20c87cabc
1 file changed
+1
@@ -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