Skip to content

Commit

Permalink
adjust recorder upload and download buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
MarconLP committed Jul 13, 2023
1 parent f762c04 commit 1621bb1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/Recorder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,13 +381,6 @@ export default function Recorder({ closeModal, step, setStep }: Props) {
<button
type="button"
className="inline-flex items-center rounded-md bg-indigo-500 px-4 py-2 text-sm font-semibold leading-6 text-white shadow transition duration-150 ease-in-out hover:bg-indigo-400 disabled:cursor-not-allowed"
onClick={() => void handleSave()}
>
Download
</button>
<button
type="button"
className="ml-2 inline-flex items-center rounded-md bg-indigo-500 px-4 py-2 text-sm font-semibold leading-6 text-white shadow transition duration-150 ease-in-out hover:bg-indigo-400 disabled:cursor-not-allowed"
disabled={submitting}
onClick={() => void handleUpload()}
>
Expand Down Expand Up @@ -416,9 +409,16 @@ export default function Recorder({ closeModal, step, setStep }: Props) {
Uploading...
</>
) : (
<>Upload</>
<>Save to cloud</>
)}
</button>
<button
type="button"
className="ml-2 inline-flex items-center rounded-md px-4 py-2 text-sm font-semibold leading-6 underline transition duration-150 ease-in-out disabled:cursor-not-allowed"
onClick={() => void handleSave()}
>
Download to device
</button>
<button
type="button"
className="ml-auto inline-flex items-center rounded-md bg-[#dc2625] px-4 py-2 text-sm font-semibold leading-6 text-white shadow transition duration-150 ease-in-out hover:opacity-80 disabled:cursor-not-allowed"
Expand Down

1 comment on commit 1621bb1

@vercel
Copy link

@vercel vercel bot commented on 1621bb1 Jul 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.