Browse Source

fix: minor mistake in string concatenation

pull/2/head
Alok 3 months ago
committed by GitHub
parent
commit
c8ee9eaceb
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/components/Container.tsx

2
src/components/Container.tsx

@ -121,7 +121,7 @@ const Container: React.FC<{
};
const current = MenuEntries.findIndex(
([, path]) => location === path || location.startsWith("${path}" + "/"),
([, path]) => location === path || location.startsWith(path + "/"),
);
const next = get.next(MenuEntries, current)[1];
const prev = get.prev(MenuEntries, current)[1];

Loading…
Cancel
Save