Skip to content

Commit 7b692c9

Browse files
committed
Update index.tsx
1 parent dc31fd9 commit 7b692c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/cra/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function Root() {
6262
{
6363
"text": "Picto playground",
6464
"linkProps": routes.picto().link,
65-
"isActive": location.pathname === "picto"
65+
"isActive": route.name === "picto"
6666
}
6767
]}
6868
/>

0 commit comments

Comments
 (0)