Преглед изворни кода

style: fix typo bashRedirect=>baseRedirect

KJlmfe пре 7 година
родитељ
комит
ba7cbf0d1b
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/layouts/BasicLayout.js

+ 2 - 2
src/layouts/BasicLayout.js

@@ -210,7 +210,7 @@ class BasicLayout extends React.PureComponent {
       location,
       location,
     } = this.props;
     } = this.props;
     const { isMobile: mb } = this.state;
     const { isMobile: mb } = this.state;
-    const bashRedirect = this.getBaseRedirect();
+    const baseRedirect = this.getBaseRedirect();
     const layout = (
     const layout = (
       <Layout>
       <Layout>
         <SiderMenu
         <SiderMenu
@@ -255,7 +255,7 @@ class BasicLayout extends React.PureComponent {
                   redirectPath="/exception/403"
                   redirectPath="/exception/403"
                 />
                 />
               ))}
               ))}
-              <Redirect exact from="/" to={bashRedirect} />
+              <Redirect exact from="/" to={baseRedirect} />
               <Route render={NotFound} />
               <Route render={NotFound} />
             </Switch>
             </Switch>
           </Content>
           </Content>