Skip to content

Commit 9626a5c

Browse files
authored
Merge pull request #150 from part3-4team-Taskify/feature/Gnb
[Fix] NewDashboard: 불필요한 코드 제거
2 parents 83f6e3b + 18926a5 commit 9626a5c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/components/modal/NewDashboard.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { useState } from "react";
22
import Input from "../input/Input";
33
import Image from "next/image";
4-
import axios from "axios";
54
import { createDashboard } from "@/api/dashboards";
6-
import { TEAM_ID } from "@/constants/team";
75

86
interface Dashboard {
97
id: number;
@@ -21,11 +19,7 @@ interface NewDashboardProps {
2119
onCreate?: (newDashboard: Dashboard) => void;
2220
}
2321

24-
export default function NewDashboard({
25-
teamId,
26-
onClose,
27-
onCreate,
28-
}: NewDashboardProps) {
22+
export default function NewDashboard({ onClose, onCreate }: NewDashboardProps) {
2923
const [title, setTitle] = useState("");
3024
const [selected, setSelected] = useState<number | null>(null);
3125
const [loading, setLoading] = useState(false);

0 commit comments

Comments
 (0)