From d25c51af61319357dd0b662dcbe8621b4cb2362d Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 25 Apr 2023 14:53:20 +0200 Subject: [PATCH] remove void onClick to fix react warning --- src/components/views/Board.jsx | 12 ++++++------ src/components/views/Pending.jsx | 4 ++-- src/components/views/Thread.jsx | 12 ++++++------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/views/Board.jsx b/src/components/views/Board.jsx index 7ea65060..055473b7 100644 --- a/src/components/views/Board.jsx +++ b/src/components/views/Board.jsx @@ -537,7 +537,7 @@ const Board = () => { {getDate(thread.timestamp)}   - {}} key={`pl1-${thread.cid}`} onClick={() => {}} title="Link to this post">c/ + {}} key={`pl1-${thread.cid}`} title="Link to this post">c/ { if (e.button === 2) return; @@ -650,7 +650,7 @@ const Board = () => { {getDate(reply.timestamp)}   - {}} key={`pl1-${reply.cid}`} onClick={() => {}} title="Link to this post">c/ + {}} key={`pl1-${reply.cid}`} title="Link to this post">c/ {reply.shortCid ? ( { @@ -664,7 +664,7 @@ const Board = () => { Pending )}   - +