From 780c13fa0af60cc363ef4648208344498ca7ee85 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 10 Sep 2018 20:59:52 +0800 Subject: [PATCH] fix wrong filename --- src/components/SiderMenu/{SliderMenu.js => SiderMenu.js} | 0 .../SiderMenu/{SliderMenu.test.js => SiderMenu.test.js} | 2 +- src/components/SiderMenu/index.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/components/SiderMenu/{SliderMenu.js => SiderMenu.js} (100%) rename src/components/SiderMenu/{SliderMenu.test.js => SiderMenu.test.js} (95%) diff --git a/src/components/SiderMenu/SliderMenu.js b/src/components/SiderMenu/SiderMenu.js similarity index 100% rename from src/components/SiderMenu/SliderMenu.js rename to src/components/SiderMenu/SiderMenu.js diff --git a/src/components/SiderMenu/SliderMenu.test.js b/src/components/SiderMenu/SiderMenu.test.js similarity index 95% rename from src/components/SiderMenu/SliderMenu.test.js rename to src/components/SiderMenu/SiderMenu.test.js index b46b7cfa..8f01f669 100644 --- a/src/components/SiderMenu/SliderMenu.test.js +++ b/src/components/SiderMenu/SiderMenu.test.js @@ -1,5 +1,5 @@ import { urlToList } from '../_utils/pathTools'; -import { getFlatMenuKeys, getMenuMatchKeys } from './SliderMenu'; +import { getFlatMenuKeys, getMenuMatchKeys } from './SiderMenu'; const menu = [ { diff --git a/src/components/SiderMenu/index.js b/src/components/SiderMenu/index.js index 64342e44..7bb4360d 100644 --- a/src/components/SiderMenu/index.js +++ b/src/components/SiderMenu/index.js @@ -1,6 +1,6 @@ import React from 'react'; import { Drawer } from 'antd'; -import SiderMenu from './SliderMenu'; +import SiderMenu from './SiderMenu'; /** * Recursively flatten the data -- GitLab