From b446a83ff24ed5ea2233c544446557ee29f44364 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sat, 8 Aug 2020 09:49:38 +0300
Subject: refactor: use native Route component

---
 src/pages/Route.tsx | 11 -----------
 1 file changed, 11 deletions(-)
 delete mode 100644 src/pages/Route.tsx

(limited to 'src/pages/Route.tsx')

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;
-- 
cgit v1.2.3

