Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Jun 14, 2024
1 parent 2f2b89a commit 6a3527d
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions packages/keychain/src/pages/slot/session/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Policy, Session } from "@cartridge/controller";
import { CreateSession, LoadingLogo } from "components";
import { LoadingLogo } from "components";
import { NextPage } from "next";
import Controller from "utils/controller";
import { CreateSession } from "components/connect";

import { diff } from "utils/controller";
import { fetchAccount } from "components/connect/utils";
Expand Down Expand Up @@ -142,15 +143,7 @@ const CreateSessionPage: NextPage = () => {
return <LoadingLogo />;
}

return (
<CreateSession
origin={origin}
chainId={chainId}
policies={policies}
onConnect={onConnect}
onLogout={() => console.error("logout")}
/>
);
return <CreateSession onConnect={onConnect} />;
};

export default CreateSessionPage;

0 comments on commit 6a3527d

Please sign in to comment.