diff --git a/ui/package.json b/ui/package.json index 2e954160e..e260f139b 100644 --- a/ui/package.json +++ b/ui/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@apollo/client": "^3.7.11", - "@cartridge/connector": "^0.3.44", + "@cartridge/connector": "0.5.0-alpha.1", "@dojoengine/create-burner": "^1.0.0-alpha.9", "@fontsource/vt323": "^4.5.10", "@scure/starknet": "^1.0.0", diff --git a/ui/src/app/components/onboarding/Sections/WalletSection.tsx b/ui/src/app/components/onboarding/Sections/WalletSection.tsx index 94c8e09c3..471bdca4c 100644 --- a/ui/src/app/components/onboarding/Sections/WalletSection.tsx +++ b/ui/src/app/components/onboarding/Sections/WalletSection.tsx @@ -1,10 +1,10 @@ import { Button } from "@/app/components/buttons/Button"; import { CompleteIcon } from "@/app/components/icons/Icons"; -import { displayAddress, padAddress, copyToClipboard } from "@/app/lib/utils"; -import { useConnect, useDisconnect } from "@starknet-react/core"; import useNetworkAccount from "@/app/hooks/useNetworkAccount"; import useUIStore from "@/app/hooks/useUIStore"; import { getWalletConnectors } from "@/app/lib/connectors"; +import { copyToClipboard, displayAddress, padAddress } from "@/app/lib/utils"; +import { useConnect, useDisconnect } from "@starknet-react/core"; interface WalletSectionProps { step: number; @@ -18,7 +18,7 @@ const WalletSection = ({ step }: WalletSectionProps) => { const isController = useUIStore((state) => state.isController); const walletConnectors = getWalletConnectors(connectors); - const cartridgeConnector = connectors.find( + const controllerConnector = connectors.find( (connector) => connector.id === "controller" ); @@ -58,7 +58,7 @@ const WalletSection = ({ step }: WalletSectionProps) => {