From 44af615b32faf53c04cd38cb63782cf1b1332c94 Mon Sep 17 00:00:00 2001 From: Emiliano Ciavatta Date: Sat, 26 Sep 2020 12:05:27 +0200 Subject: General refactor --- frontend/src/views/MainPane.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'frontend/src/views/MainPane.js') diff --git a/frontend/src/views/MainPane.js b/frontend/src/views/MainPane.js index 88af4a7..ce755d1 100644 --- a/frontend/src/views/MainPane.js +++ b/frontend/src/views/MainPane.js @@ -2,7 +2,7 @@ import React, {Component} from 'react'; import './MainPane.scss'; import Connections from "./Connections"; import ConnectionContent from "../components/ConnectionContent"; -import {withRouter} from "react-router-dom"; +import {Route, Switch, withRouter} from "react-router-dom"; import PcapPane from "../components/panels/PcapPane"; import backend from "../backend"; @@ -35,8 +35,10 @@ class MainPane extends Component { this.setState({selectedConnection: c})} />
- - {/**/} + + } /> + } /> +
-- cgit v1.2.3-70-g09d2