File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 11import { useState } from "react" ;
22import Input from "../input/Input" ;
33import Image from "next/image" ;
4- import axios from "axios" ;
54import { createDashboard } from "@/api/dashboards" ;
6- import { TEAM_ID } from "@/constants/team" ;
75
86interface 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 ) ;
You can’t perform that action at this time.
0 commit comments