We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60302df + f6805b7 commit 95e4fd6Copy full SHA for 95e4fd6
apps/landing/src/app/(detail)/docs/OpenMenuItem.tsx
@@ -56,7 +56,9 @@ export function OpenMenuItem({
56
<Box borderRight="1px solid var(--border, #E0E0E0)" w="10px" />
57
<VStack flex="1" gap="4px">
58
{subMenu.map(({ children, to }, idx) => {
59
- const selected = to ? path.startsWith(to) : false
+ const selected = to
60
+ ? path.startsWith(to) || path.startsWith(URL_PREFIX + to)
61
+ : false
62
const inner = (
63
<Flex
64
_hover={{
0 commit comments