From 41f27c76b1ee63a5f0d7d26d9aef6bb74fd20b4e Mon Sep 17 00:00:00 2001 From: Irtiza-h30 Date: Wed, 19 Aug 2020 20:33:36 -0400 Subject: [PATCH] undo --- app/containers/Network/index.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/app/containers/Network/index.js b/app/containers/Network/index.js index 65ef5fc..80ef944 100644 --- a/app/containers/Network/index.js +++ b/app/containers/Network/index.js @@ -1,5 +1,5 @@ import React, { useMemo, useContext, useState } from 'react'; -import { Switch, Route, useRouteMatch, Redirect, useLocation } from 'react-router-dom'; +import { Switch, Route, useRouteMatch, Redirect } from 'react-router-dom'; import { useQuery, useMutation, useLazyQuery } from '@apollo/react-hooks'; import { Alert, notification } from 'antd'; import _ from 'lodash'; @@ -22,7 +22,6 @@ import { const Network = () => { const { path } = useRouteMatch(); - const location = useLocation(); const { customerId } = useContext(UserContext); const { loading, error, refetch, data } = useQuery(GET_ALL_LOCATIONS, { variables: { customerId }, @@ -259,13 +258,22 @@ const Network = () => { path={`${path}/access-points/:id/:tab`} render={props => } /> + ( + + )} + /> + } /> -