diff --git a/packages/react-preferences/src/components/PreferenceList.tsx b/packages/react-preferences/src/components/PreferenceList.tsx index ccc2c2ac..46de7b8f 100644 --- a/packages/react-preferences/src/components/PreferenceList.tsx +++ b/packages/react-preferences/src/components/PreferenceList.tsx @@ -31,7 +31,7 @@ export const PreferenceList: React.FunctionComponent<{ }, []); const renderPreferences = () => { - if (preferences?.isLoading) { + if (!preferences.preferencePage?.sections?.nodes.length) { return <>; } diff --git a/packages/react-preferences/src/components/PreferencesV4.tsx b/packages/react-preferences/src/components/PreferencesV4.tsx index 61d59950..e2cd906f 100644 --- a/packages/react-preferences/src/components/PreferencesV4.tsx +++ b/packages/react-preferences/src/components/PreferencesV4.tsx @@ -436,10 +436,6 @@ export const PreferencesV4: React.FC<{ accountId?: string; draft?: boolean }> = pullPreferences(); }, []); - if (preferences.isLoading || typeof preferences.isLoading === "undefined") { - return null; - } - if (!preferences.preferencePage && !preferences.isLoading) { return (