Skip to content

Commit

Permalink
refactor: Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroWave022 committed Oct 31, 2024
1 parent df46e61 commit e40dffc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/[locale]/(default)/events/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { getTranslations, setRequestLocale } from 'next-intl/server';

import { Avatar, AvatarImage } from '@/components/ui/Avatar';
import { Badge } from '@/components/ui/Badge';
import { Separator } from '@/components/ui/Separator';
// TODO: Must be replaced with actual events
import { events } from '@/mock-data/events';
import { CalendarIcon, MapPinIcon } from 'lucide-react';
import { notFound } from 'next/navigation';
import { Badge } from '@/components/ui/Badge';

export async function generateMetadata({
params,
Expand Down
3 changes: 1 addition & 2 deletions src/components/ui/Avatar.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
'use client';

import { cx } from '@/lib/utils';
import * as AvatarPrimitive from '@radix-ui/react-avatar';
import { forwardRef } from 'react';

import { cx } from '@/lib/utils';

const Avatar = forwardRef<
React.ComponentRef<typeof AvatarPrimitive.Root>,
React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>
Expand Down

0 comments on commit e40dffc

Please sign in to comment.