comment out the web inspector and bug report header buttons
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { Link, useLocation } from 'react-router';
|
import { Link, useLocation } from 'react-router';
|
||||||
import { Menu, Terminal } from 'lucide-react';
|
import { Menu } from 'lucide-react';
|
||||||
|
// import { Menu, Terminal } from 'lucide-react'; // Terminal used by the commented-out web inspector button
|
||||||
import { Sheet, SheetContent, SheetHeader, SheetTitle } from '@/components/ui/sheet';
|
import { Sheet, SheetContent, SheetHeader, SheetTitle } from '@/components/ui/sheet';
|
||||||
import type { DockItem } from '../Dock';
|
import type { DockItem } from '../Dock';
|
||||||
import { useIsTouch } from '../useIsTouch';
|
import { useIsTouch } from '../useIsTouch';
|
||||||
import { UserMenu } from './UserMenu';
|
import { UserMenu } from './UserMenu';
|
||||||
import { BugReportButton } from '../BugReport/BugReportButton';
|
// import { BugReportButton } from '../BugReport/BugReportButton';
|
||||||
|
|
||||||
type HeaderProps = {
|
type HeaderProps = {
|
||||||
dockItems?: DockItem[];
|
dockItems?: DockItem[];
|
||||||
@@ -40,6 +41,7 @@ export function Header({ dockItems }: HeaderProps) {
|
|||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
|
{/* Web inspector (eruda dev console) — hidden
|
||||||
<button
|
<button
|
||||||
onClick={() => (window as any).eruda?.show()}
|
onClick={() => (window as any).eruda?.show()}
|
||||||
className="flex h-8 w-8 items-center justify-center rounded-full bg-black/20 text-duck-dark transition-transform hover:scale-110"
|
className="flex h-8 w-8 items-center justify-center rounded-full bg-black/20 text-duck-dark transition-transform hover:scale-110"
|
||||||
@@ -47,7 +49,9 @@ export function Header({ dockItems }: HeaderProps) {
|
|||||||
>
|
>
|
||||||
<Terminal size={16} />
|
<Terminal size={16} />
|
||||||
</button>
|
</button>
|
||||||
<BugReportButton />
|
*/}
|
||||||
|
{/* Bug Report — hidden */}
|
||||||
|
{/* <BugReportButton /> */}
|
||||||
<UserMenu />
|
<UserMenu />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user