fix(dashboard): 移除 ProjectCard 未使用的 role 解构(typecheck)
This commit is contained in:
parent
5f8b2e8bec
commit
ee2a37876e
@ -60,7 +60,7 @@ interface Props {
|
|||||||
spacesJson?: SpacesJson | null;
|
spacesJson?: SpacesJson | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ProjectCard({ project: p, role, spacesJson }: Props) {
|
export function ProjectCard({ project: p, spacesJson }: Props) {
|
||||||
const [expanded, setExpanded] = useState(false);
|
const [expanded, setExpanded] = useState(false);
|
||||||
const [showToolsMgr, setShowToolsMgr] = useState(false);
|
const [showToolsMgr, setShowToolsMgr] = useState(false);
|
||||||
const [toolsMgrDefaultAdd, setToolsMgrDefaultAdd] = useState(false);
|
const [toolsMgrDefaultAdd, setToolsMgrDefaultAdd] = useState(false);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user