From 2a4d998230116cdb2c23c3a6792facb85982cffd Mon Sep 17 00:00:00 2001 From: smallchill Date: Thu, 24 Jan 2019 22:15:14 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Sword/ToolBar.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Sword/ToolBar.js b/src/components/Sword/ToolBar.js index daa3460..351df36 100644 --- a/src/components/Sword/ToolBar.js +++ b/src/components/Sword/ToolBar.js @@ -10,9 +10,7 @@ export default class ToolBar extends PureComponent {
{buttons - .filter(button => { - return button.action === 1 || button.action === 3; - }) + .filter(button => button.action === 1 || button.action === 3) .map(button => (