From a06a32131759cd3b34000cfd5a098df875fddae7 Mon Sep 17 00:00:00 2001 From: Haishan Date: Sat, 4 Jan 2020 14:34:44 +0800 Subject: build: remove svg-sprite-loader --- src/components/SideBar.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/components/SideBar.js') diff --git a/src/components/SideBar.js b/src/components/SideBar.js index 2715040..2b68b85 100644 --- a/src/components/SideBar.js +++ b/src/components/SideBar.js @@ -2,13 +2,19 @@ import React from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import { Link } from 'react-router-dom'; -import { Command, Activity, Globe, Link2, Settings, File } from 'react-feather'; +import { + Moon, + Command, + Activity, + Globe, + Link2, + Settings, + File +} from 'react-feather'; import { connect } from './StateProvider'; import { switchTheme } from '../store/app'; -import Icon from './Icon'; -import moon from '../svg/moon.svg'; import SvgYacd from './SvgYacd'; import s from './SideBar.module.css'; @@ -109,7 +115,7 @@ function SideBar({ dispatch, location }) { ))}
- +
); -- cgit v1.3.1