From ff046d001ba7b9ab784d2aa1a917536c56f23f8c Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Wed, 9 Mar 2022 16:36:35 +0800
Subject: Fix errors for eslint new rule.

---
 FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx')

diff --git a/FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx b/FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx
index f19f7785..cd61b4a7 100644
--- a/FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx
+++ b/FrontEnd/src/views/timeline-common/TimelinePostEdit.tsx
@@ -254,7 +254,7 @@ const TimelinePostEdit: React.FC<TimelinePostEditProps> = (props) => {
               </PopupMenu>
             </div>
             <LoadingButton
-              onClick={onSend}
+              onClick={() => void onSend()}
               disabled={!canSend}
               loading={process}
             >
-- 
cgit v1.2.3

