Skip to content

Commit

Permalink
fix(elements): reload the profile after passkey creation (#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoern-m authored Nov 7, 2023
1 parent 693912d commit bce1247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/elements/src/contexts/AppProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const AppProvider = ({
hanko.onUserDeleted(init);
break;
case "profile":
hanko.onSessionCreated(init);
hanko.onAuthFlowCompleted(init);
break;
}
}, [componentName, hanko, init]);
Expand Down

0 comments on commit bce1247

Please sign in to comment.