Просмотр исходного кода

Fix component name

Component name should be PageLoading, not PageLoding
Vinícius Zomer 6 лет назад
Родитель
Сommit
da61ac0b83
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/components/PageLoading/index.tsx

+ 2 - 2
src/components/PageLoading/index.tsx

@@ -3,9 +3,9 @@ import { Spin } from 'antd';
 
 // loading components from code split
 // https://umijs.org/plugin/umi-plugin-react.html#dynamicimport
-const PageLoding: React.FC = () => (
+const PageLoading: React.FC = () => (
   <div style={{ paddingTop: 100, textAlign: 'center' }}>
     <Spin size="large" />
   </div>
 );
-export default PageLoding;
+export default PageLoading;