mirror of
https://github.com/stackblitz/bolt.new
synced 2025-06-26 18:17:50 +00:00
changed icon as it was not visiable
This commit is contained in:
parent
92d9581695
commit
6cb2c55afd
@ -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 { HeaderActionButtons } from './HeaderActionButtons.client';
|
import { ons } from './ons.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">
|
||||||
<HeaderActionButtons />
|
<ons />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</ClientOnly>
|
</ClientOnly>
|
||||||
|
@ -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 HeaderActionButtonsProps {}
|
interface onsProps {}
|
||||||
|
|
||||||
export function HeaderActionButtons({}: HeaderActionButtonsProps) {
|
export function ons({}: onsProps) {
|
||||||
const showWorkbench = useStore(workbenchStore.showWorkbench);
|
const showWorkbench = useStore(workbenchStore.showWorkbench);
|
||||||
const { showChat } = useStore(chatStore);
|
const { showChat } = useStore(chatStore);
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ export function HeaderActionButtons({}: HeaderActionButtonsProps) {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className="i-bolt:chat text-sm" />
|
<div className="i-ph:chat-text-bold" />
|
||||||
</Button>
|
</Button>
|
||||||
<div className="w-[1px] bg-bolt-elements-borderColor" />
|
<div className="w-[1px] bg-bolt-elements-borderColor" />
|
||||||
<Button
|
<Button
|
||||||
|
Loading…
Reference in New Issue
Block a user