Skip to content

Commit

Permalink
Update wording
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Jul 10, 2024
1 parent 54b4ae0 commit 0759690
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions src/components/modals/MemeOnReviewModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@ export default function MemeOnReviewModal({

const description =
remaining > 0
? `${tokenomics?.socialActionPrice.createCommentPoints} points have been used. We received your meme! We need at least ${remaining} more memes from you to mark you as a verified creator.`
? `${
tokenomics?.socialActionPrice.createCommentPoints
} points have been used. We received your meme! We need at least ${remaining} more meme${
remaining > 1 ? 's' : ''
} from you to mark you as a verified creator.`
: `${
tokenomics?.socialActionPrice.createCommentPoints
} points have been used. We received ${
count ?? 0
} meme from you! Now we need a bit of time to finish review you as a verified creator.`
} memes from you! Now we need a bit of time to finish review you as a verified creator.`

return (
<Modal {...props} title='Under Review' description={description}>
Expand Down
8 changes: 6 additions & 2 deletions src/services/datahub/posts/subscription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,16 @@ async function processMessage(
const title = 'Under review'
const description =
remaining > 0
? `${tokenomics.socialActionPrice.createCommentPoints} points have been used. We received your meme! We need at least ${remaining} more memes from you to mark you as a verified creator.`
? `${
tokenomics.socialActionPrice.createCommentPoints
} points have been used. We received your meme! We need at least ${remaining} more meme${
remaining > 1 ? 's' : ''
} from you to mark you as a verified creator.`
: `${
tokenomics.socialActionPrice.createCommentPoints
} points have been used. We received ${
count ?? 0
} meme from you! Now we need a bit of time to finish review you as a verified creator.`
} memes from you! Now we need a bit of time to finish review you as a verified creator.`
toast.custom((t) => (
<Toast
t={t}
Expand Down

0 comments on commit 0759690

Please sign in to comment.