Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wweitzel committed Aug 21, 2024
1 parent fc8a2ec commit 352ac21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Goal from './pages/Goal';
import Goals from './pages/Goals';
import Settings from './pages/Settings';

import {createBrowserRouter, Navigate, RouterProvider} from 'react-router-dom';
import {createBrowserRouter, RouterProvider} from 'react-router-dom';

const router = createBrowserRouter([
{
Expand Down
3 changes: 2 additions & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ function Header() {
const fixturesActive = Boolean(useMatch('/fixtures'));
const settingsActive = Boolean(useMatch('/settings'));
const goalsDrilldownActive = Boolean(useMatch('/goals/:goalId'));
const homeActive = Boolean(useMatch('/goals')) || (!fixturesActive && !settingsActive && !goalsDrilldownActive);
const homeActive =
Boolean(useMatch('/goals')) || (!fixturesActive && !settingsActive && !goalsDrilldownActive);

return (
<div className="container d-flex justify-content-center">
Expand Down

0 comments on commit 352ac21

Please sign in to comment.