mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-03-17 21:31:43 +01:00
small fix for download button
This commit is contained in:
parent
e92d4b3aa5
commit
f634a567b1
@ -6,7 +6,6 @@ import { BlossomClient } from "blossom-client-sdk";
|
||||
import { saveAs } from "file-saver";
|
||||
|
||||
import useUsersMediaServers from "../../../hooks/use-user-media-servers";
|
||||
import useAsyncErrorHandler from "../../../hooks/use-async-error-handler";
|
||||
import { useSigningContext } from "../../../providers/global/signing-provider";
|
||||
import { DownloadIcon } from "../../../components/icons";
|
||||
|
||||
@ -75,7 +74,7 @@ export default function FileDownloadButton({
|
||||
};
|
||||
|
||||
return (
|
||||
<Button onClick={download} leftIcon={<DownloadIcon boxSize="1.2em" />} {...props}>
|
||||
<Button onClick={download} leftIcon={<DownloadIcon boxSize="1.2em" />} isLoading={loading} {...props}>
|
||||
{children || "Download"}
|
||||
</Button>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user