Skip to content

Commit

Permalink
Fixing type to use Location instead of URL
Browse files Browse the repository at this point in the history
  • Loading branch information
NatHillardUSDS committed Jun 9, 2021
1 parent 3ada521 commit babdbae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {URLFlagProvider} from '../contexts/FlagContext';

interface ILayoutProps {
children: ReactNode,
location: URL
location: Location
}

const Layout = ({children, location}: ILayoutProps) => {
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import washIcon from '/node_modules/uswds/dist/img/usa-icons/wash.svg';
import J40Aside from '../components/J40Aside';

interface IndexPageProps {
location: URL;
location: Location;
};

// markup
Expand Down

0 comments on commit babdbae

Please sign in to comment.