diff options
Diffstat (limited to 'src/pages/Route.tsx')
-rw-r--r-- | src/pages/Route.tsx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/pages/Route.tsx b/src/pages/Route.tsx deleted file mode 100644 index fdd6f96..0000000 --- a/src/pages/Route.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -import { Route as BaseRoute } from 'react-router-dom'; - - -const Route: React.FC<any> = ({ component: Component, ...rest }) => { - const render: React.FC<any> = (props) => <Component {...props} />; - - return <BaseRoute render={render} {...rest} />; -}; - -export default Route; |