Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Martin authored and Steven Martin committed Jun 11, 2024
1 parent 2989acd commit 37689d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions layouts/DocsPage/DocsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ const DocsPage = ({

let urlCurrent = "/docs" + path;
// handles the case where it's the home page with / to avoid /docs/docs/
if (path == "/")
urlCurrent = "/";
if (path == "/") urlCurrent = "/";

return (
<>
Expand Down

0 comments on commit 37689d6

Please sign in to comment.