Skip to content

Commit

Permalink
refactor((#14.2)): Removed purchased date and time from UI
Browse files Browse the repository at this point in the history
  • Loading branch information
shuveksha-tuladhar committed Sep 27, 2024
1 parent 30f8b94 commit 4dacac8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/Toggle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ export function Toggle({ on, toggle, name, isDisabled }) {
disabled={isDisabled}
aria-label={`Toggle purchase status for ${name}`}
/>

<span className="Toggle-text">{on ? 'Purchased' : 'Unpurchased'}</span>
</label>
{message && <p className="Toggle-message">{message}</p>}
</div>
Expand Down

0 comments on commit 4dacac8

Please sign in to comment.