Skip to content

Commit

Permalink
fix relative icon imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nl32 committed Oct 1, 2024
1 parent 0656490 commit a46cb7a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/club/directory/Carousel.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';
import Image from 'next/image';
import { useState, type TouchEventHandler } from 'react';
import { LeftArrowIcon, RightArrowIcon } from '../../../icons/Icons';
import { LeftArrowIcon, RightArrowIcon } from '@src/icons/Icons';
import Link from 'next/link';
import { type SelectClub } from '@src/server/db/models';

Expand Down
2 changes: 1 addition & 1 deletion src/components/events/EventCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { format, isSameDay } from 'date-fns';
import Image from 'next/image';
import Link from 'next/link';
import { MoreIcon } from '../../icons/Icons';
import { MoreIcon } from '@src/icons/Icons';
import { type RouterOutputs } from '@src/trpc/shared';
import EventLikeButton from './EventLikeButton';
import { getServerAuthSession } from '@src/server/auth';
Expand Down
2 changes: 1 addition & 1 deletion src/components/events/EventLikeButton.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';
/* eslint-disable @typescript-eslint/no-misused-promises */
import { CheckIcon, PlusIcon } from '../../icons/Icons';
import { CheckIcon, PlusIcon } from '@src/icons/Icons';
import { api } from '@src/trpc/react';
import { useRouter } from 'next/navigation';

Expand Down
2 changes: 1 addition & 1 deletion src/components/nav/SidebarItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { type FC, useState } from 'react';
import { useRouter, usePathname } from 'next/navigation';
import { IconMap, type allCats, routeMap } from '@src/constants/categories';
import { RightChevron } from '../../icons/Icons';
import { RightChevron } from '@src/icons/Icons';

const SidebarItems: FC<{ cat: allCats[number] }> = ({ cat }) => {
const Icon = IconMap[cat];
Expand Down

0 comments on commit a46cb7a

Please sign in to comment.