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 { 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 type { DockItem } from '../Dock';
|
||||
import { useIsTouch } from '../useIsTouch';
|
||||
import { UserMenu } from './UserMenu';
|
||||
import { BugReportButton } from '../BugReport/BugReportButton';
|
||||
// import { BugReportButton } from '../BugReport/BugReportButton';
|
||||
|
||||
type HeaderProps = {
|
||||
dockItems?: DockItem[];
|
||||
@@ -40,6 +41,7 @@ export function Header({ dockItems }: HeaderProps) {
|
||||
</Link>
|
||||
</div>
|
||||
<div className="flex items-center gap-2">
|
||||
{/* Web inspector (eruda dev console) — hidden
|
||||
<button
|
||||
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"
|
||||
@@ -47,7 +49,9 @@ export function Header({ dockItems }: HeaderProps) {
|
||||
>
|
||||
<Terminal size={16} />
|
||||
</button>
|
||||
<BugReportButton />
|
||||
*/}
|
||||
{/* Bug Report — hidden */}
|
||||
{/* <BugReportButton /> */}
|
||||
<UserMenu />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user