From aca578cb9dfdaed33f91c62ffdf3ef1a456c6a72 Mon Sep 17 00:00:00 2001 From: Haishan Date: Fri, 27 Dec 2019 13:12:49 +0800 Subject: refactor: abstract ButtonWithIcon as a button enhancer --- src/components/Rules.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/components/Rules.js') diff --git a/src/components/Rules.js b/src/components/Rules.js index e881443..a5528ad 100644 --- a/src/components/Rules.js +++ b/src/components/Rules.js @@ -1,6 +1,6 @@ import React from 'react'; import { useActions, useStoreState } from '../misc/store'; -import { ButtonWithIcon } from './Button'; +import Button from './Button'; import { FixedSizeList as List, areEqual } from 'react-window'; import { RotateCw } from 'react-feather'; @@ -64,11 +64,7 @@ export default function Rules() {
- +
); -- cgit v1.3.1