mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-02 14:04:50 +00:00
fix(share): resolve share link drag-and-drop error and public view render loop
This commit is contained in:
@@ -215,7 +215,7 @@ export function FileBrowser({
|
||||
}, [files, localUploadingFiles])
|
||||
|
||||
const { data: shareLinksData } = useQuery({
|
||||
queryKey: ['shares', projectId],
|
||||
queryKey: ['shares', projectId, 'list'],
|
||||
queryFn: async () => {
|
||||
const res = await client.api.projects[':projectId'].shares.$get({
|
||||
param: { projectId },
|
||||
|
||||
Reference in New Issue
Block a user