Refactor media upload handling in MediaPanel: remove direct upload logic and integrate useUploadStore for file enqueueing. Update translations for upload status and add UploadSnackbar component to display upload notifications in the UI.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import { QueryClient } from '@tanstack/react-query'
|
||||
|
||||
/** Единый экземпляр — доступен и провайдеру, и коду вне React (напр. фоновому загрузчику медиа). */
|
||||
export const queryClient = new QueryClient()
|
||||
Reference in New Issue
Block a user