mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 23:42:24 +00:00
feat(playground-header): replace SettingsButton with AvatarButton
This commit is contained in:
parent
e6b4be4758
commit
c6cba8f504
@ -1,8 +1,7 @@
|
|||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
import RunCode from "@/components/run-code";
|
import RunCode from "@/components/run-code";
|
||||||
import BackButton from "@/components/back-button";
|
import BackButton from "@/components/back-button";
|
||||||
import SettingsButton from "@/components/settings-button";
|
import { AvatarButton } from "@/components/avatar-button";
|
||||||
import { SettingsDialog } from "@/components/settings-dialog";
|
|
||||||
|
|
||||||
interface PlaygroundHeaderProps {
|
interface PlaygroundHeaderProps {
|
||||||
className?: string;
|
className?: string;
|
||||||
@ -24,7 +23,7 @@ export function PlaygroundHeader({
|
|||||||
<BackButton href="/problemset" />
|
<BackButton href="/problemset" />
|
||||||
</div>
|
</div>
|
||||||
<div className="z-10 flex items-center gap-2">
|
<div className="z-10 flex items-center gap-2">
|
||||||
<SettingsButton />
|
<AvatarButton />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -36,7 +35,6 @@ export function PlaygroundHeader({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<SettingsDialog />
|
|
||||||
</header>
|
</header>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user