mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Format code
This commit is contained in:
parent
e843b73472
commit
9bee5df036
@ -221,7 +221,10 @@ export const useDownloader = () => {
|
||||
{ type, slug, id: data.id, extension: info.extension },
|
||||
account,
|
||||
);
|
||||
setDownloads((x) => [...x, setupDownloadTask({ data, info, path }, task, store, queryClient)]);
|
||||
setDownloads((x) => [
|
||||
...x,
|
||||
setupDownloadTask({ data, info, path }, task, store, queryClient),
|
||||
]);
|
||||
} catch (e) {
|
||||
console.error("download error", e);
|
||||
ToastAndroid.show(`Error downloading ${slug}`, ToastAndroid.LONG);
|
||||
|
Loading…
x
Reference in New Issue
Block a user