Skip to content

Commit

Permalink
Update src/components/creator/Editor/ActionButtons/ShareChallenge/Sha…
Browse files Browse the repository at this point in the history
…reModalButtons.tsx

Co-authored-by: asanzo <[email protected]>
  • Loading branch information
tfloxolodeiro and asanzo authored Dec 11, 2023
1 parent a915f09 commit 651e3dc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ export const ShareButtons = () => {

return <>
<Stack direction="row" justifyContent="space-between" alignItems='center'>
{sharedId ? <SaveButton /> : <ShareUrlButton />}
{// If the challenge has already been saved, show Save, else show Share, which saves for the first time.
sharedId ? <SaveButton /> : <ShareUrlButton />
}
<DownloadButton />
</Stack>
</>
Expand Down

0 comments on commit 651e3dc

Please sign in to comment.