diff --git a/.env.example b/.env.example index 4665986..7b79dd0 100644 --- a/.env.example +++ b/.env.example @@ -12,4 +12,4 @@ SENTRY_DSN="your-dsn" # if they aren't then the real github api will be attempted GITHUB_CLIENT_ID="MOCK_GITHUB_CLIENT_ID" GITHUB_CLIENT_SECRET="MOCK_GITHUB_CLIENT_SECRET" -GITHUB_TOKEN="MOCK_GITHUB_TOKEN" +GITHUB_TOKEN="MOCK_GITHUB_TOKEN" \ No newline at end of file diff --git a/app/components/layout/header.tsx b/app/components/layout/header.tsx index 725246e..14d2796 100644 --- a/app/components/layout/header.tsx +++ b/app/components/layout/header.tsx @@ -1,4 +1,4 @@ -import { Form, Link, useMatches, useSubmit } from '@remix-run/react' +import { Form, Link, useSubmit } from '@remix-run/react' import { useEffect, useRef, useState } from 'react' import { getUserImgSrc } from '#app/utils/misc.tsx' @@ -35,10 +35,10 @@ export function HeaderNav({ const [searchExpand, setSearchExpand] = useState(false) const searchRef = useRef(null) - const matches = useMatches() - const isProjectPage = matches.find( - match => match.id === 'routes/projects+/index', - ) + // const matches = useMatches() + // const isProjectPage = matches.find( + // match => match.id === 'routes/projects+/index', + // ) const handleSearchExpand = () => { setSearchExpand(true) @@ -54,38 +54,18 @@ export function HeaderNav({ return ( <>
-