fix(web): ui

This commit is contained in:
zhaoying
2026-04-17 11:58:24 +08:00
parent 5a17b7fd0d
commit b8123fc84c
3 changed files with 4 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ const MySharing: React.FC = () => {
setSelectedWorkspace(grouped[0].workspace.target_workspace_id)
setAppList(grouped[0].items)
}
}, [grouped])
}, [grouped, selectedWorkspace])
const handleSelectWorkspace = async (target_workspace_id: string) => {
if (target_workspace_id === selectedWorkspace) return