Skip to content

Commit

Permalink
refactor(connection-2023#334): svg import 절대 경로 -> 상대 경로로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunseo-jo committed Mar 17, 2024
1 parent 424c7e7 commit 117fd7d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Profile/ProfileImage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from 'next/image';
import { ProfileImgSize } from '@/constants/constants';
import { ProfileSVG } from '@/icons/svg';
import { ProfileSVG } from '../../../public/icons/svg';

interface ProfileProps {
src?: string | null;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Review/Rating.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';
import { useState, useEffect } from 'react';
import { BigStar, StarSVG } from '@/icons/svg';
import { BigStar, StarSVG } from '../../../public/icons/svg';

interface ReadonlyProps {
rate: number;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Review/Review.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { nanoid } from 'nanoid';
import { StarSVG } from '@/../public/icons/svg';
import { StarSVG } from '../../../public/icons/svg';

interface ReviewProps {
average: number;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Review/UserReview.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use client';
import { useRouter } from 'next/navigation';
import { useState } from 'react';
import { LikeSVG } from '@/icons/svg';
import { postReviewLikes, deleteReviewLikes } from '@/lib/apis/classApis';
import Review from './Review';
import { LikeSVG } from '../../../public/icons/svg';
import Profile from '../Profile/ProfileImage';

interface UserReviewProps {
Expand Down

0 comments on commit 117fd7d

Please sign in to comment.