Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
broody committed Jun 7, 2024
1 parent 238cd44 commit 5a6210d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/keychain/src/components/Container/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function Container({
onClick={close}
/>
)}

<Header chainId={chainId} onBack={onBack} hideAccount={hideAccount} />

<VStack
Expand Down
2 changes: 0 additions & 2 deletions packages/keychain/src/components/Transaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { StarkscanUrl } from "utils/url";
import { CheckIcon, ExternalIcon, StarknetIcon, Loading } from "@cartridge/ui";
import { useController } from "hooks/controller";
import { useChainName } from "hooks/chain";
import Account from "utils/account";

export type TransactionState = "pending" | "success" | "error";

Expand All @@ -32,7 +31,6 @@ export function Transaction({
let result: TransactionState = "pending";
controller.account
.waitForTransaction(hash, {
...Account.waitForTransactionOptions,
retryInterval: 8000,
})
.then(() => {
Expand Down
12 changes: 11 additions & 1 deletion packages/keychain/src/components/connect/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,17 @@ export function Login({

setIsLoading(false);
},
[chainId, rpcUrl, origin, policies, expiresAt, isSlot, log],
[
chainId,
rpcUrl,
origin,
policies,
expiresAt,
mode,
log,
onSuccess,
setController,
],
);

return (
Expand Down

0 comments on commit 5a6210d

Please sign in to comment.