Skip to content

Commit

Permalink
chore: create session if controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Aug 25, 2024
1 parent 674736e commit 95fc551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/keychain/src/pages/session.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ export default function CreateRemoteSession() {
}, [controller, origin, policies, onCallback]);

return controller ? (
<CreateSessionComp onConnect={onConnect} />
) : (
<CreateController
loginMode={LoginMode.Controller}
onCreated={navigateBackHere}
/>
) : (
<CreateSessionComp onConnect={onConnect} />
);
}

Expand Down

0 comments on commit 95fc551

Please sign in to comment.