Skip to content

Commit

Permalink
fix: 이미지 경로와 정의 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Yejiin21 committed Jan 31, 2025
1 parent a55faea commit 9305b05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from '@storybook/react';
import SearchTextField from '../../ui/textFields/SearchTextField';
import Search from '../icons/Search.svg';
import Search from '../../icons/Search.svg';

const meta = {
title: 'TextFields/SearchTextField',
Expand Down
4 changes: 2 additions & 2 deletions src/pages/home/ui/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const MainPage = () => {
<Header
centerContent={
<SearchTextField
icon={searchIcon}
iconPath={<img src={searchIcon} alt="Search" />}
onClick={handleSearchButtonClick}
onChange={() => {}}
placeholder="입력해주세요"
Expand All @@ -181,7 +181,7 @@ const MainPage = () => {
{cardButtons.map((button, index) => (
<VerticalCardButton
key={index}
iconPath={button.iconPath}
iconPath={<img src={button.iconPath} alt="메인 아이콘" />}
label={button.label}
size="lg"
onClick={button.onClick}
Expand Down

0 comments on commit 9305b05

Please sign in to comment.