fix: suppress uncaught promise rejections from fire-and-forget useAsync calls in useEffect

This commit is contained in:
root
2026-05-15 19:07:13 -04:00
parent 7d57396de8
commit e9c7b9d600
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export function AuthFlowsLoader({ fallback, error, children }: AuthFlowsLoaderPr
);
useEffect(() => {
load();
load().catch(() => {});
}, [load]);
if (state.status === AsyncStatus.Idle || state.status === AsyncStatus.Loading) {