diff --git a/src/components/Appbar.tsx b/src/components/Appbar.tsx index 5261d2de3..723121f94 100644 --- a/src/components/Appbar.tsx +++ b/src/components/Appbar.tsx @@ -15,12 +15,10 @@ import { ThemeToggler } from './ThemeToggler'; import { NavigationMenu } from './landing/appbar/nav-menu'; import SearchBar from './search/SearchBar'; import MobileScreenSearch from './search/MobileScreenSearch'; -import { useState } from 'react'; export const Appbar = () => { const session = useSession(); const [sidebarOpen, setSidebarOpen] = useRecoilState(sidebarOpenAtom); - const [dropdownOpen, setDropdownOpen] = useState(false); const currentPath = usePathname(); const params = useParams(); let bookmarkPageUrl = null; @@ -47,89 +45,55 @@ export const Appbar = () => {
-
{/* Search Bar for smaller devices */} - {/* sm:flex md:w-auto md:block*/} -
-
-
- -
- {dropdownOpen && ( -
-
    -
  • - {currentPath.includes('courses') && - bookmarkPageUrl && ( - - )} -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
-
+ Bookmarks + )} + + + + + + + +
+