From 544f929fcdddad84984858c175c1ef9966b4a81b Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Tue, 22 Jan 2019 18:39:14 +0000 Subject: [PATCH] Drop unused react-transitions --- app/package.json | 1 - app/src/frontend/app.js | 73 +++++++++++++++++++---------------------- 2 files changed, 34 insertions(+), 40 deletions(-) diff --git a/app/package.json b/app/package.json index 9cb30f84..8000a31e 100644 --- a/app/package.json +++ b/app/package.json @@ -30,7 +30,6 @@ "react-leaflet": "^1.0.1", "react-leaflet-universal": "^1.2.0", "react-router-dom": "^4.3.1", - "react-transition-group": "^2.5.0", "serialize-javascript": "^1.5.0" }, "devDependencies": { diff --git a/app/src/frontend/app.js b/app/src/frontend/app.js index 2b982500..c0b4a0f3 100644 --- a/app/src/frontend/app.js +++ b/app/src/frontend/app.js @@ -1,6 +1,5 @@ import React, { Fragment } from 'react'; import { Route, Switch, Link } from 'react-router-dom'; -import { TransitionGroup, CSSTransition } from 'react-transition-group' import '../../node_modules/bootstrap/dist/css/bootstrap.min.css'; import './app.css'; @@ -97,44 +96,40 @@ class App extends React.Component {
- - - - - - - ( - - ) } /> - ( - - ) } /> - ( - - ) } /> - ( - - ) } /> - - - + + + + + ( + + ) } /> + ( + + ) } /> + ( + + ) } /> + ( + + ) } /> + (