Skip to content

Commit 8b86293

Browse files
Updated spa template JS dependencies (#42060)
1 parent e775307 commit 8b86293

File tree

8 files changed

+5080
-4663
lines changed

8 files changed

+5080
-4663
lines changed

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/package-lock.json

Lines changed: 1222 additions & 1098 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/package-lock.json

Lines changed: 1928 additions & 1846 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { Component } from 'react';
2-
import { Route } from 'react-router';
2+
import { Route } from 'react-router-dom';
33
import { Layout } from './components/Layout';
44
import { Home } from './components/Home';
55
import { FetchData } from './components/FetchData';

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/src/components/api-authorization/ApiAuthorizationRoutes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { Component, Fragment } from 'react';
2-
import { Route } from 'react-router';
2+
import { Route } from 'react-router-dom';
33
import { Login } from './Login'
44
import { Logout } from './Logout'
55
import { ApplicationPaths, LoginActions, LogoutActions } from './ApiAuthorizationConstants';

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/package-lock.json

Lines changed: 1925 additions & 1714 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { Route } from 'react-router';
2+
import { Route } from 'react-router-dom';
33
import Layout from './components/Layout';
44
import Home from './components/Home';
55
import Counter from './components/Counter';

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/src/components/Counter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react';
22
import { connect } from 'react-redux';
3-
import { RouteComponentProps } from 'react-router';
3+
import { RouteComponentProps } from 'react-router-dom';
44
import { ApplicationState } from '../store';
55
import * as CounterStore from '../store/Counter';
66

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/src/components/FetchData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react';
22
import { connect } from 'react-redux';
3-
import { RouteComponentProps } from 'react-router';
3+
import { RouteComponentProps } from 'react-router-dom';
44
import { Link } from 'react-router-dom';
55
import { ApplicationState } from '../store';
66
import * as WeatherForecastsStore from '../store/WeatherForecasts';

0 commit comments

Comments
 (0)