Format code

This commit is contained in:
Zoe Roux 2023-12-20 05:04:25 +01:00
parent e843b73472
commit 9bee5df036

View File

@ -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);