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