From 4e1e963255b7b018fefee014f18e54cc1021439a Mon Sep 17 00:00:00 2001 From: Alaister Young Date: Thu, 24 Nov 2022 11:11:09 +0000 Subject: [PATCH] allow retrying and refetching custom domain query --- .../General/CustomDomainConfig/CustomDomainConfig.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainConfig.tsx b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainConfig.tsx index 1f8cef56434..2b8e8c29c0f 100644 --- a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainConfig.tsx +++ b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainConfig.tsx @@ -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