Merge pull request #26 from kawana77b/fix/btn-loading

fix: Suppress multiple requests to OpenAI after clicking the ExportButton
sawyerhood/actions
Sawyer Hood 3 years ago committed by GitHub
commit e36d65f7fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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