diff options
author | Mackinnon Buck <mackinnon.buck@gmail.com> | 2022-05-26 19:10:26 +0300 |
---|---|---|
committer | Mackinnon Buck <mackinnon.buck@gmail.com> | 2022-05-26 19:10:26 +0300 |
commit | 9bff8abbb7a3b5c4e2701206a5a49f79d08e92a8 (patch) | |
tree | cb0543e954ebaee55bea62fcb3828005a564d799 | |
parent | bd39136bf75757743f7b7af407f22715ad6061f8 (diff) |
Fix react templatembuck/fix-react-template
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/App.js b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/App.js index f0bcaf3200..ecedfa8be5 100644 --- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/App.js +++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/App.js @@ -1,5 +1,5 @@ import React, { Component } from 'react'; -import { Route } from 'react-router'; +import { Route } from 'react-router-dom'; import { Layout } from './components/Layout'; import { Home } from './components/Home'; import { FetchData } from './components/FetchData'; diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/src/App.tsx b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/src/App.tsx index 083c0f1bfe..de56482472 100644 --- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/src/App.tsx +++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/src/App.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { Route } from 'react-router'; +import { Route } from 'react-router-dom'; import Layout from './components/Layout'; import Home from './components/Home'; import Counter from './components/Counter'; |