Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
fix: settings page without kratos (#97)
Browse files Browse the repository at this point in the history
Co-authored-by: Samer Buna <samerbuna@users.noreply.github.com>
  • Loading branch information
samerbuna and samerbuna authored May 16, 2022
1 parent 82bbbd8 commit bd05719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/pages/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const Settings: FCT = ({ flowData: flowDataProp }) => {
}, [])

useEffect(() => {
if (flowData) {
if (flowData || !config.kratosFeatureFlag) {
return
}

Expand Down

0 comments on commit bd05719

Please sign in to comment.