Skip to content

Commit ae7cbb6

Browse files
committed
fix: 추가 버튼의 + 아이콘이 표시되도록 수정
1 parent 8fa28ab commit ae7cbb6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

frontend/src/components/account/TechStackInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useModal } from "../../hooks/common/modal/useModal";
22
import TechStackModal from "./TechStackModal";
3-
import plus from "../../assets/icons/plus.svg";
3+
import Plus from "../../assets/icons/plus.svg?react";
44
import NextStepButton from "../common/NextStepButton";
55
import CategoryButton from "../common/CategoryButton";
66
import { WheelEvent } from "react";
@@ -48,7 +48,7 @@ const TechStackInput = ({
4848
open(<TechStackModal {...{ close, onAddTechStack }} />)
4949
}
5050
>
51-
<img src={plus} alt="plus" />
51+
<Plus width={40} height={40} stroke="white" />
5252
추가하기
5353
</button>
5454
<p className="text-3xl font-semibold text-dark-gray">입니다</p>

frontend/src/components/projects/ProjectList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Link } from "react-router-dom";
33
import useDropdown from "../../hooks/common/dropdown/useDropdown";
44
import { ProjectCard } from ".";
55
import { PROJECT_SORT_OPTION } from "../../constants/projects";
6-
import plus from "../../assets/icons/plus.svg";
6+
import Plus from "../../assets/icons/plus.svg?react";
77
import { ProjectDTO } from "../../types/DTO/projectDTO";
88
import projectSortByOption from "../../utils/projectSortByOption";
99
import { useGetProjects } from "../../hooks/queries/project";
@@ -59,7 +59,7 @@ const ProjectList = () => {
5959
className="flex items-center justify-center w-[10.45rem] h-[2.5rem] py-2 pl-3 pr-9 text-white text-xs bg-middle-green gap-3 rounded-[0.375rem] shadow-box"
6060
onClick={handleCreateButtonClick}
6161
>
62-
<img src={plus} alt="더하기" className="w-7" />
62+
<Plus width={32} height={32} stroke="white" />
6363
추가하기
6464
</button>
6565
</div>

0 commit comments

Comments
 (0)