Skip to content

Commit 54efd51

Browse files
committed
only show hint, when script url is generated
1 parent ba1d327 commit 54efd51

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

src/app/page.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,13 @@ export default function Home() {
193193
</CopyButton>
194194
}
195195
/>
196-
<Text c="red" size="sm">
197-
Make sure to read the docker-compose file and the bash
198-
scripts. Only run the command if you accept running these on
199-
your own risk.
200-
</Text>
196+
{installationCommand && (
197+
<Text c="red" size="sm">
198+
Make sure to read the docker-compose file and the bash
199+
scripts. Only run the command if you accept running these
200+
on your own risk.
201+
</Text>
202+
)}
201203
<Button
202204
disabled={!installationCommand || !currentConfigIsUploaded}
203205
onClick={() => {

0 commit comments

Comments
 (0)