Skip to content

Commit 8bb06ce

Browse files
committed
Removed useLocation
1 parent fbbbd60 commit 8bb06ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layouts/admin/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Navbar from "components/navbar/NavbarAdmin.js";
66
import Sidebar from "components/sidebar/Sidebar.js";
77
import { SidebarContext } from "contexts/SidebarContext";
88
import React, { useState } from "react";
9-
import { Redirect, Route, Switch, useLocation } from "react-router-dom";
9+
import { Redirect, Route, Switch } from "react-router-dom";
1010
import routes from "routes.js";
1111

1212
// Custom Chakra theme

0 commit comments

Comments
 (0)