Browse Source
fix: minor mistake in string concatenation
pull/2/head
Alok
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/components/Container.tsx
|
@ -121,7 +121,7 @@ const Container: React.FC<{ |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
const current = MenuEntries.findIndex( |
|
|
const current = MenuEntries.findIndex( |
|
|
([, path]) => location === path || location.startsWith("${path}" + "/"), |
|
|
([, path]) => location === path || location.startsWith(path + "/"), |
|
|
); |
|
|
); |
|
|
const next = get.next(MenuEntries, current)[1]; |
|
|
const next = get.next(MenuEntries, current)[1]; |
|
|
const prev = get.prev(MenuEntries, current)[1]; |
|
|
const prev = get.prev(MenuEntries, current)[1]; |
|
|