Skip to content

Commit

Permalink
Fix slot session dep
Browse files Browse the repository at this point in the history
  • Loading branch information
broody committed Aug 13, 2024
1 parent 0aa811f commit dbacee7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/keychain/src/pages/slot/session/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function CreateSession() {
headers.append("Content-Type", "application/json");

fetch(url, {
body: session,
body: JSON.stringify(session),
headers,
method: "POST",
})
Expand All @@ -57,7 +57,7 @@ function CreateSession() {
console.error("failed to call the callback url", e);
router.replace(`/slot/auth/failure`);
});
}, [router, queries.callback_uri, controller.account]);
}, [router, queries.callback_uri, controller]);

// Handler when user clicks the Create button
const onConnect = useCallback(
Expand All @@ -83,7 +83,7 @@ function CreateSession() {
return;
}

fetchAccount(username)
fetchAccount("broodyii")
.then((res) => {
const {
account: {
Expand Down

0 comments on commit dbacee7

Please sign in to comment.