Skip to content

Commit

Permalink
🐛 (settings) Fix remember session switch
Browse files Browse the repository at this point in the history
Closes #136
  • Loading branch information
baptisteArno committed Oct 22, 2022
1 parent 264711b commit 36a2fe3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/builder/components/settings/GeneralSettingsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@ export const GeneralSettingsForm = ({
})
}

const handleNewResultOnRefreshChange = (
isNewResultOnRefreshEnabled: boolean
) =>
const handleNewResultOnRefreshChange = (isRememberSessionChecked: boolean) =>
onGeneralSettingsChange({
...generalSettings,
isNewResultOnRefreshEnabled,
isNewResultOnRefreshEnabled: !isRememberSessionChecked,
})

const handleInputPrefillChange = (isInputPrefillEnabled: boolean) =>
Expand Down

0 comments on commit 36a2fe3

Please sign in to comment.