mirror of
https://github.com/neosubhamoy/neodlp.git
synced 2026-02-04 15:22:23 +05:30
feat: added clear, copy log buttons and pagination in completed downloads
This commit is contained in:
@@ -88,8 +88,8 @@ export default function useDownloader() {
|
||||
|
||||
const updateDownloadState = debounce((state: DownloadState) => {
|
||||
downloadStateSaver.mutate(state, {
|
||||
onSuccess: (data) => {
|
||||
console.log("Download State saved successfully:", data);
|
||||
onSuccess: (_data) => {
|
||||
// console.log("Download State saved successfully:", data);
|
||||
queryClient.invalidateQueries({ queryKey: ['download-states'] });
|
||||
},
|
||||
onError: (error) => {
|
||||
|
||||
Reference in New Issue
Block a user