diff --git a/packages/web/src/components/apps/header.tsx b/packages/web/src/components/apps/header.tsx
index 6d0c55c6..44f61811 100644
--- a/packages/web/src/components/apps/header.tsx
+++ b/packages/web/src/components/apps/header.tsx
@@ -2,10 +2,12 @@ import {
ShareIcon,
PlayIcon,
StopCircleIcon,
- EllipsisIcon,
PlayCircleIcon,
Code2Icon,
Loader2Icon,
+ CircleAlertIcon,
+ PanelBottomOpenIcon,
+ PanelBottomCloseIcon,
} from 'lucide-react';
import { Link } from 'react-router-dom';
import { SrcbookLogo } from '@/components/logos';
@@ -32,6 +34,7 @@ import { useState } from 'react';
import { usePreview } from './use-preview';
import { exportApp } from '@/clients/http/apps';
import { toast } from 'sonner';
+import { useLogs } from './use-logs';
export type EditorHeaderTab = 'code' | 'preview';
@@ -47,6 +50,7 @@ export default function EditorHeader(props: PropsType) {
const { start: startPreview, stop: stopPreview, status: previewStatus } = usePreview();
const { status: npmInstallStatus, nodeModulesExists } = usePackageJson();
const [isExporting, setIsExporting] = useState(false);
+ const { open, togglePane, panelIcon } = useLogs();
const [nameChangeDialogOpen, setNameChangeDialogOpen] = useState(false);
@@ -198,17 +202,21 @@ export default function EditorHeader(props: PropsType) {
- Export app
+ Open logs
@@ -217,13 +225,17 @@ export default function EditorHeader(props: PropsType) {
- More options
+ Export app