Skip to content

Commit

Permalink
fix path check
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Jenkins committed Mar 23, 2024
1 parent 8f61b8f commit 89d30b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function Header(props: HeaderProps) {
// const { title } = props;
const { pathname } = useLocation();

const showResume = pathname === "/resume";
const showResume = pathname?.startsWith("/resume");

const onDownload = useCallback(() => {
const link = document.createElement("a");
Expand Down

0 comments on commit 89d30b5

Please sign in to comment.