Connect, collaborate, and grow with a community of TypeScript developers
fix settings form. fix svg attributes
Chris Bautista4d2462c845bb
diff --git a/src/components/challenge/editor/index.tsx b/src/components/challenge/editor/index.tsxindex 9863cfce..2d98e507 100644--- a/src/components/challenge/editor/index.tsx+++ b/src/components/challenge/editor/index.tsx@@ -14,7 +14,7 @@ import {import { useEditorSettingsStore } from '../settings-store';import { createTwoslashInlayProvider } from './twoslash';import { VimStatusBar, loadVim } from './vimMode';-import { ShareForm } from '../settings-form';+import { SettingsForm } from '../settings-form';declare global {// eslint-disable-next-line no-var@@ -171,9 +171,9 @@ export const CodePanel = ({ prompt }: Props) => {</DialogTrigger><DialogContent className="w-[200px]"><DialogHeader>- <DialogTitle>Share</DialogTitle>+ <DialogTitle>Settings</DialogTitle><div className="py-4">- <ShareForm />+ <SettingsForm /></div></DialogHeader></DialogContent>diff --git a/src/components/ui/navigation.tsx b/src/components/ui/navigation.tsxindex f3a2bdd3..f53bdc33 100644--- a/src/components/ui/navigation.tsx+++ b/src/components/ui/navigation.tsx@@ -36,14 +36,14 @@ export function Navigation() {fill="none"xmlns="http://www.w3.org/2000/svg">- <g clip-path="url(#clip0_1_2)">+ <g clipPath="url(#clip0_1_2)"><pathd="M462 0H50C22.3858 0 0 22.3858 0 50V462C0 489.614 22.3858 512 50 512H462C489.614 512 512 489.614 512 462V50C512 22.3858 489.614 0 462 0Z"fill="#6366f1"/><path- fill-rule="evenodd"- clip-rule="evenodd"+ fillRule="evenodd"+ clipRule="evenodd"d="M239.78 284.082H304V243H125V284.082H188.906V467H239.78V284.082Z"fill="white"/>