Skip to content

Commit

Permalink
rm redundant click handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennievon committed Dec 8, 2023
1 parent 850ca76 commit f23a804
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ export const NetworkStatus = ({ message = MessageContent }) => {
isOnline ? "translate-x-full" : "translate-x-0"
}`}
>
<div
className="bg-red-500 text-white p-4 rounded-md shadow-lg ring-1 ring-gray-800 backdrop-blur transition dark:bg-gray-800/90 dark:ring-white/10 dark:hover:ring-white/20 cursor-pointer"
onClick={() => setIsOnline(true)}
>
<div className="bg-red-500 text-white p-4 rounded-md shadow-lg ring-1 ring-gray-800 backdrop-blur transition dark:bg-gray-800/90 dark:ring-white/10 dark:hover:ring-white/20 cursor-pointer">
{message}
</div>
</div>
Expand Down

0 comments on commit f23a804

Please sign in to comment.