remove an impossible catch

此提交包含在:
Sven Czarnian
2022-11-05 00:34:03 +01:00
父節點 cdadef9837
當前提交 29e134880d

查看文件

@@ -33,10 +33,7 @@ export const AuthProvider = ({ children }: { children: any }) => {
} else {
setAuth(InitialAuthState);
}
}).catch(() => {
setAuth(InitialAuthState);
navigate('/');
});
})
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);