feat: make the code snippets copyable

This commit is contained in:
Aarnav Tale 2024-11-20 18:01:20 -05:00
parent 9d9cbd8e0e
commit 3cd28d2136
No known key found for this signature in database
2 changed files with 41 additions and 10 deletions

View file

@ -50,10 +50,8 @@ export default function New(data: NewProps) {
<Dialog.Text className='mb-4'>
The machine key is given when you run
{' '}
<Code>
<Code isCopyable>
tailscale up --login-server=
</Code>
<Code>
{data.server}
</Code>
{' '}