Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgxvii committed Sep 10, 2024
1 parent a3c7906 commit faab1c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const Login: NextPage = () => {
// Otherwise we initialize it
ory
.createBrowserLoginFlow({
refresh: loginChallenge? true : Boolean(refresh),
refresh: loginChallenge ? true : Boolean(refresh),
aal: aal ? String(aal) : undefined,
returnTo: returnTo ? String(returnTo) : undefined,
loginChallenge: loginChallenge ? String(loginChallenge) : undefined,
Expand Down
2 changes: 1 addition & 1 deletion pages/registration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const Registration: NextPage = () => {
...parseObject(values),
traits: {
...parseObject(values).traits,
projects: [project]
projects: [project],
},
}
await router
Expand Down
2 changes: 1 addition & 1 deletion pages/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const Settings: NextPage = () => {
flow: String(flow?.id),
updateSettingsFlowBody: {
...values,
'csrf_token': csrfToken
csrf_token: csrfToken,
},
})
.then(({ data }) => {
Expand Down

0 comments on commit faab1c0

Please sign in to comment.