Skip to content

Commit

Permalink
controller connector ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
ClanCo committed Nov 10, 2024
1 parent 484bc92 commit b6f7b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/ui/components/Controller.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useCallback } from "react";
import { useAccount } from "@starknet-react/core";

export const Controller = () => {
const { connector } = useAccount();
const { connector } = useAccount() as { connector: { controller?: any } };
const handleTrophyClick = useCallback(() => {
if (!connector?.controller) {
console.error("Connector not initialized");
Expand Down

0 comments on commit b6f7b62

Please sign in to comment.