fix: remove extra ampersand

pull/38/head
David Ordás 2022-09-16 11:17:50 +02:00
parent 25ae1e328e
commit df53426eb8
No known key found for this signature in database
GPG Key ID: 6FD751229911593E
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function ParsedLink({ children, sect, href, id }) {
}, [href]);
if (folder && file) {
return <a id={id} href={`${appContextPath}?&sect=${folder}&file=${file}`}>{children}</a>;
return <a id={id} href={`${appContextPath}?sect=${folder}&file=${file}`}>{children}</a>;
} else if (file) {
return <a id={id} href={`${appContextPath}?file=${file}`}>{children}</a>;
} else { // Go to the homepage when there's a bad relative URL