fix: oAuthClient Creation Form (#14750)

This commit is contained in:
Morgan authored and GitHub committed 2024-04-25 13:51:03 +00:00
1 parent 8fbb1ed426
commit ebbb1dcce3
2 files changed
+3 -2

No files matched your search

@@ -36,7 +36,7 @@ export const useOAuthClient = (clientId?: string) => {
headers: { "Content-type": "application/json" },
}).then((res) => res.json());
},
enabled: clientId !== undefined,
enabled: Boolean(clientId),
staleTime: Infinity,
});