Skip to content

Commit

Permalink
Remove SSR settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Acosta committed Mar 8, 2024
1 parent e751a27 commit e0e6754
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion react/hooks/useAppSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e0e6754

Please sign in to comment.