Loading packages/client/src/components/Toolbar/Palette.tsx +3 −2 Original line number Original line Diff line number Diff line Loading @@ -4,6 +4,7 @@ import { Canvas } from "../../lib/canvas"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faXmark } from "@fortawesome/free-solid-svg-icons"; import { faXmark } from "@fortawesome/free-solid-svg-icons"; import { KeybindManager } from "../../lib/keybinds"; import { KeybindManager } from "../../lib/keybinds"; import { Button, Link } from "@nextui-org/react"; export const Palette = () => { export const Palette = () => { const { config, user, cursor, setCursor } = useAppContext<true>(); const { config, user, cursor, setCursor } = useAppContext<true>(); Loading Loading @@ -72,9 +73,9 @@ export const Palette = () => { ) : ( ) : ( <> <> You are not logged in You are not logged in <a href="/api/login" className="user-login"> <Button as={Link} href="/api/login" className="user-login"> Login Login </a> </Button> </> </> )} )} </div> </div> Loading Loading
packages/client/src/components/Toolbar/Palette.tsx +3 −2 Original line number Original line Diff line number Diff line Loading @@ -4,6 +4,7 @@ import { Canvas } from "../../lib/canvas"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faXmark } from "@fortawesome/free-solid-svg-icons"; import { faXmark } from "@fortawesome/free-solid-svg-icons"; import { KeybindManager } from "../../lib/keybinds"; import { KeybindManager } from "../../lib/keybinds"; import { Button, Link } from "@nextui-org/react"; export const Palette = () => { export const Palette = () => { const { config, user, cursor, setCursor } = useAppContext<true>(); const { config, user, cursor, setCursor } = useAppContext<true>(); Loading Loading @@ -72,9 +73,9 @@ export const Palette = () => { ) : ( ) : ( <> <> You are not logged in You are not logged in <a href="/api/login" className="user-login"> <Button as={Link} href="/api/login" className="user-login"> Login Login </a> </Button> </> </> )} )} </div> </div> Loading