Skip to content

Commit

Permalink
fix: troubleshooting refresh error
Browse files Browse the repository at this point in the history
  • Loading branch information
mheggelund committed Jan 29, 2024
1 parent c9f7bae commit 94cc4d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/features/AppBar/AppBar.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { TopBar } from '@equinor/eds-core-react';
import { useNavigate } from 'react-router-dom';
import { useLocation, useNavigate } from 'react-router-dom';
import * as Styled from './AppBar.styled';
import { Icons } from './Icons/Icons';
import { Navigation } from './Navigation/Navigation';

const AppBar = ({ title }: { title: string }) => {
const navigate = useNavigate();

const location = useLocation();
console.log(location.pathname);
return (
<Styled.TopBar>
<Styled.Header
Expand Down

0 comments on commit 94cc4d9

Please sign in to comment.