Skip to content

Commit

Permalink
fix: change extensions in mobile button (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwisecodes authored and simonrose121 committed Sep 16, 2024
1 parent 18bfccc commit 36b26ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/nextjs/src/components/DownloadButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ export const DownloadButton = ({
{handleSendEmailIcon({ isSuccess, isLoading, isError })}
<div className="flex flex-col gap-6">
<span className="text-left font-bold">
Email me {ext} {isSuccess && `- Email sent`}{" "}
Email me {ext === "docx" ? `doc` : `slides`}{" "}
{isSuccess && `- Email sent`}{" "}
{isError && `- There was an error sending the email!`}
</span>
<span className="text-left opacity-80">
Expand Down

0 comments on commit 36b26ba

Please sign in to comment.