allow retrying and refetching custom domain query

This commit is contained in:
Alaister Young committed 2022-11-24 11:11:09 +00:00
1 parent b52a5312cc
commit 4e1e963255
1 file changed
+1 -8
@@ -24,16 +24,9 @@ const CustomDomainConfig = () => {
const {
isLoading: isCustomDomainsLoading,
isError,
error,
isSuccess,
data,
} = useCustomDomainsQuery(
{ projectRef: ref },
{
retry: false,
refetchOnWindowFocus: false,
}
)
} = useCustomDomainsQuery({ projectRef: ref })
const isLoading = isSettingsLoading || isCustomDomainsLoading