feat(application): implement Phase 3 strict DTOs, eradicate any types, and add Suspense boundaries
Deploy Canina / deploy (push) Failing after 29s

This commit is contained in:
parsa committed 2026-08-06 23:15:25 +03:30
1 parent 57596f5aaf
commit 74fcaa6a4e
8 files changed
+82 -24

No files matched your search

+3 -1
View File
@@ -22,6 +22,8 @@ const MENU_ICONS: Record<string, React.ReactNode> = {
"special-care": <Sparkles className="w-5 h-5" />,
};
import { NavigationTarget } from "../lib/types";
export default function Header({
onNavigate = () => {},
onShopNavigate = () => {},
@@ -30,7 +32,7 @@ export default function Header({
onSearch = () => {},
onB2BOpen = () => {}
}: {
onNavigate?: (v: any) => void;
onNavigate?: (v: NavigationTarget) => void;
onShopNavigate?: (c?: string, s?: string) => void;
currentView?: string;
onCartOpen?: () => void;