Skip to content

Commit d1490ae

Browse files
committed
Fix active link for manual & fix wording
1 parent 3db46d2 commit d1490ae

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/components/Navigation.js

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Navigation.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ module DocsSection = {
169169
href: `/docs/manual/${version}/introduction`,
170170
isActive: url => {
171171
switch url.base {
172-
| ["packages"] => true
172+
| ["docs", "manual"] => true
173173
| _ => false
174174
}
175175
},
@@ -189,7 +189,7 @@ module DocsSection = {
189189
{
190190
imgSrc: "/static/[email protected]",
191191
title: "GenType",
192-
description: "Seamless TypeScript & Flow interop",
192+
description: "Seamless TypeScript & Flow integration",
193193
href: "/docs/gentype/latest/introduction",
194194
isActive: url => {
195195
switch url.base {

0 commit comments

Comments
 (0)