diff --git a/CHANGELOG.md b/CHANGELOG.md index 6252203..26bd4d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Fixed +- Remove SSR settings + ## [1.3.0] - 2024-02-09 ### Added diff --git a/react/hooks/useAppSettings.ts b/react/hooks/useAppSettings.ts index 787fbd9..cff0b0a 100644 --- a/react/hooks/useAppSettings.ts +++ b/react/hooks/useAppSettings.ts @@ -9,7 +9,7 @@ interface Settings { } const useAppSettings = (): Settings => { - const { data } = useQuery(GET_SETTINGS, { ssr: false }) + const { data } = useQuery(GET_SETTINGS, {}) if (data?.publicSettingsForApp?.message) { const { disableOffers } = JSON.parse(data.publicSettingsForApp.message)