mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +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 RunCode from "@/components/run-code";
|
||||
import BackButton from "@/components/back-button";
|
||||
import SettingsButton from "@/components/settings-button";
|
||||
import { SettingsDialog } from "@/components/settings-dialog";
|
||||
import { AvatarButton } from "@/components/avatar-button";
|
||||
|
||||
interface PlaygroundHeaderProps {
|
||||
className?: string;
|
||||
@ -24,7 +23,7 @@ export function PlaygroundHeader({
|
||||
<BackButton href="/problemset" />
|
||||
</div>
|
||||
<div className="z-10 flex items-center gap-2">
|
||||
<SettingsButton />
|
||||
<AvatarButton />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -36,7 +35,6 @@ export function PlaygroundHeader({
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<SettingsDialog />
|
||||
</header>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user