chore: fix for previous change

This commit is contained in:
Dustin 2025-06-25 14:25:47 -04:00
parent 6cb2c55afd
commit 24053b76a2
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ import { useStore } from '@nanostores/react';
import { ClientOnly } from 'remix-utils/client-only'; import { ClientOnly } from 'remix-utils/client-only';
import { chatStore } from '~/lib/stores/chat'; import { chatStore } from '~/lib/stores/chat';
import { classNames } from '~/utils/classNames'; import { classNames } from '~/utils/classNames';
import { ons } from './ons.client'; import { HeaderActionButtons } from './HeaderActionButtons.client';
import { ChatDescription } from '~/lib/persistence/ChatDescription.client'; import { ChatDescription } from '~/lib/persistence/ChatDescription.client';
export function Header() { export function Header() {
@ -31,7 +31,7 @@ export function Header() {
<ClientOnly> <ClientOnly>
{() => ( {() => (
<div className="mr-1"> <div className="mr-1">
<ons /> <HeaderActionButtons />
</div> </div>
)} )}
</ClientOnly> </ClientOnly>

View File

@ -3,9 +3,9 @@ import { chatStore } from '~/lib/stores/chat';
import { workbenchStore } from '~/lib/stores/workbench'; import { workbenchStore } from '~/lib/stores/workbench';
import { classNames } from '~/utils/classNames'; import { classNames } from '~/utils/classNames';
interface onsProps {} interface HeaderActionButtonsProps {}
export function ons({}: onsProps) { export function HeaderActionButtons({}: HeaderActionButtonsProps) {
const showWorkbench = useStore(workbenchStore.showWorkbench); const showWorkbench = useStore(workbenchStore.showWorkbench);
const { showChat } = useStore(chatStore); const { showChat } = useStore(chatStore);