Skip to content

Commit

Permalink
fix: 불필요한 파일 제거 및 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kimeodml committed Sep 4, 2023
1 parent ae3a9c3 commit 6a86cfa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
11 changes: 0 additions & 11 deletions src/api/search/index.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/common/SpriteSvg/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import spriteSvg from 'assets/svg/common/sprite-svg.svg';
import navSpriteSvg from 'assets/svg/common/nav-sprite.svg';

interface SpriteProps {
id: string;
Expand All @@ -9,7 +9,7 @@ interface SpriteProps {
export default function SpriteSvg({ id, height = '24', width = '24' }:SpriteProps): JSX.Element {
return (
<svg height={height} width={width} fill="#FFFFFF">
<use xlinkHref={`${spriteSvg}#${id}`} />
<use xlinkHref={`${navSpriteSvg}#${id}`} />
</svg>
);
}
2 changes: 1 addition & 1 deletion src/pages/SearchDetails/components/SearchItem.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styles from 'pages/SearchDetails/SearchDetails.module.scss';
import { useNavigate } from 'react-router-dom';
import { Shop } from 'api/search/entity';
import { Shop } from 'api/shop/entity';
import { getMockItem } from '../static/mockup';

interface Props {
Expand Down

0 comments on commit 6a86cfa

Please sign in to comment.