From bce1247663d051aebebec0d6665c5e71a52400db Mon Sep 17 00:00:00 2001 From: bjoern-m <56024829+bjoern-m@users.noreply.github.com> Date: Tue, 7 Nov 2023 13:54:30 +0100 Subject: [PATCH] fix(elements): reload the profile after passkey creation (#1172) --- frontend/elements/src/contexts/AppProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/elements/src/contexts/AppProvider.tsx b/frontend/elements/src/contexts/AppProvider.tsx index d0f3417d7..a463e2247 100644 --- a/frontend/elements/src/contexts/AppProvider.tsx +++ b/frontend/elements/src/contexts/AppProvider.tsx @@ -145,7 +145,7 @@ const AppProvider = ({ hanko.onUserDeleted(init); break; case "profile": - hanko.onSessionCreated(init); + hanko.onAuthFlowCompleted(init); break; } }, [componentName, hanko, init]);