Skip to content

Commit

Permalink
will need to work with merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
fletchulence committed Nov 15, 2021
1 parent b63643a commit 9dababf
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
Binary file removed public/logo192.png
Binary file not shown.
Binary file removed public/logo512.png
Binary file not shown.
10 changes: 0 additions & 10 deletions public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
Expand Down
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import logo from './logo.svg';
import './App.css';
import Header from './components/Header';
import { Route } from "react-router-dom";
import PrivateRoute from './components/PrivateRoute';
// import { Route } from "react-router-dom";
// import PrivateRoute from './components/PrivateRoute';


function App() {
Expand Down
2 changes: 2 additions & 0 deletions src/components/PrivateRoute.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import React from 'react'

//we need to change this from the Redirect --
// React router v6 is now different https://reactrouter.com/docs/en/v6/upgrading/v5
import { Route, Redirect } from "react-router-dom";

const PrivateRoute = ({component:Component, ...rest}) => {
Expand Down

0 comments on commit 9dababf

Please sign in to comment.