We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abd34f9 commit 993e5e7Copy full SHA for 993e5e7
pages/index.js
@@ -114,7 +114,11 @@ export default function Home() {
114
<div className="flex bg-zinc-800 space-x-3 px-3 py-3 rounded spacy-x-2">
115
<Button label="Format" onClick={handleFormat} />
116
<Button label="Clear" onClick={handleClear} />
117
- <Button label="Download" onClick={handleDownload} />
+ <Button
118
+ label="Download"
119
+ onClick={handleDownload}
120
+ disabled={outputString === ""}
121
+ />
122
</div>
123
124
{/* <Footer /> */}
0 commit comments