diff --git a/src/components/Welcome/WelcomeCard.tsx b/src/components/Welcome/WelcomeCard.tsx index 00b26f7..ee92998 100644 --- a/src/components/Welcome/WelcomeCard.tsx +++ b/src/components/Welcome/WelcomeCard.tsx @@ -7,6 +7,7 @@ import { DiscordIcon } from "./DiscordIcon"; import { Alert } from "@codex-storage/marketplace-ui-components"; import { AlertIcon } from "../AlertIcon/AlertIcon"; import { useEffect, useRef } from "react"; +import { classnames } from "../../utils/classnames"; export function WelcomeCard() { const ref = useRef(null); @@ -32,8 +33,15 @@ export function WelcomeCard() { }; }, [ref.current]); + const clientWidth = ref.current?.clientWidth || 0; + return ( -
+