chore: update workspace user pages

This commit is contained in:
Steven
2022-09-25 20:30:40 +08:00
parent c0699f159e
commit a642465f86
14 changed files with 511 additions and 39 deletions

View File

@@ -189,10 +189,10 @@ const CreateShortcutDialog: React.FC<Props> = (props: Props) => {
);
};
export default function showCreateShortcutDialog(workspaceId: WorkspaceId, shortcutId?: ShortcutId): void {
export default function showCreateShortcutDialog(workspaceId: WorkspaceId, shortcutId?: ShortcutId, onDestory?: () => void): void {
generateDialog(
{
className: "px-2 sm:px-0",
onDestory,
},
CreateShortcutDialog,
{