diff --git a/src/components/TopBar.tsx b/src/components/TopBar.tsx index 3cca6f3..a943e48 100644 --- a/src/components/TopBar.tsx +++ b/src/components/TopBar.tsx @@ -11,7 +11,7 @@ const SEARCH_HISTORY_LIMIT = 10; const SEARCH_HISTORY_DISPLAY = 5; export default function TopBar() { - const { currentPage, goBack, navigateTo } = useRouter(); + const { currentPage, goHome, navigateTo } = useRouter(); const { mode, setMode } = useThemeMode(); const [searchQuery, setSearchQuery] = useState(''); @@ -138,8 +138,8 @@ export default function TopBar() { {!isDashboard && (