Skip to content

Commit

Permalink
style: change the span to button for badword element #666 (#728)
Browse files Browse the repository at this point in the history
Co-authored-by: _sameer <[email protected]>
  • Loading branch information
Gopal-001 and _sameer authored Nov 26, 2024
1 parent 986b9df commit 6634959
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/components/Chat/BadwordWarning.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ const BadwordWarning = ({ id, setBadwordChoices, badwordChoices }) => {
<div className="dark:text-white text-black flex flex-col border-red border w-full rounded-r-md p-3">
<p>Your buddy is trying to send you a bad word</p>
<div className="flex w-full gap-6">
<span onClick={() => showBadword(id)} className="text-sm cursor-pointer">
<button onClick={() => showBadword(id)} className="text-sm">
See
</span>
<span onClick={() => hideBadword(id)} className="text-red text-sm cursor-pointer">
</button>
<button onClick={() => hideBadword(id)} className="text-red text-sm">
Hide
</span>
</button>
</div>
</div>
);
Expand Down

0 comments on commit 6634959

Please sign in to comment.