fix: Suppress multiple requests to OpenAI after clicking the ExportButton

pull/26/head
shimarisu_121 3 years ago
parent 0b0e3823d8
commit 17cfdc3195
No known key found for this signature in database
GPG Key ID: 62774EE8D7BCA351

@ -99,6 +99,7 @@ function ExportButton({ setHtml }: { setHtml: (html: string) => void }) {
}}
className="fixed bottom-4 right-4 bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded ="
style={{ zIndex: 1000 }}
disabled={loading}
>
{loading ? (
<div className="flex justify-center items-center ">

Loading…
Cancel
Save