feat: add empty placeholder

This commit is contained in:
steven
2022-10-04 19:52:09 +08:00
parent 572a93c5f0
commit 36947a3711
5 changed files with 70 additions and 16 deletions

View File

@ -122,6 +122,13 @@ const Header: React.FC = () => {
showCreateWorkspaceDialog: false,
});
}}
onConfirm={(workspace: Workspace) => {
setState({
...state,
showCreateWorkspaceDialog: false,
});
navigate(`/${workspace.name}`);
}}
/>
)}
</>