Skip to content

Commit

Permalink
Organize imports (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
camilovegag authored Jul 31, 2024
1 parent aff6c3b commit aff9133
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions packages/berlin/src/components/header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import {
NavigationMenu,
NavigationMenuContent,
NavigationMenuItem,
NavigationMenuLink,
NavigationMenuList,
NavigationMenuTrigger,
} from '@/_components/ui/navigation-menu';
import useUser from '@/hooks/useUser';
import { useAppStore } from '@/store';
// React and third-party libraries
import { useMemo, useState } from 'react';
import { useNavigate, useParams, NavLink } from 'react-router-dom';
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
import { Menu, User } from 'lucide-react';

// API
import {
fetchEventNavLinks,
fetchEvents,
Expand All @@ -17,12 +13,22 @@ import {
GetUserResponse,
logout,
} from 'api';
import { Menu, User } from 'lucide-react';
import { useMemo, useState } from 'react';
import { NavLink, useParams } from 'react-router-dom';

// Hooks
import { useAppStore } from '@/store';
import useUser from '@/hooks/useUser';

// Components
import {
NavigationMenu,
NavigationMenuContent,
NavigationMenuItem,
NavigationMenuLink,
NavigationMenuList,
NavigationMenuTrigger,
} from '@/_components/ui/navigation-menu';
import Icon from '../icon';
import ThemeToggler from '../theme-toggler';
import { useNavigate } from 'react-router-dom';
import ZupassLoginButton from '../zupass-button';

export default function NewHeader() {
Expand Down

0 comments on commit aff9133

Please sign in to comment.