Updated libraries

This commit is contained in:
2021-03-24 01:11:01 +11:00
parent 4280319443
commit 6b53bee033
3 changed files with 4732 additions and 3694 deletions
@@ -0,0 +1,13 @@
import React from 'react';
import { Route } from 'react-router-dom';
import loadable from '@loadable/component';
const LazyRoute = props => {
const { component, ...lazyProps } = props;
const lazyComponent = loadable(component);
return <Route {...lazyProps} component={lazyComponent} />
};
export default LazyRoute;