mirror of
https://github.com/hsjobeki/noogle.git
synced 2024-12-25 06:53:17 +03:00
fix autolinks for ' (Prime) cases
This commit is contained in:
parent
4a72037d4b
commit
4e54cf5989
@ -81,7 +81,7 @@ export function SearchInput(props: SearchInputProps) {
|
||||
if (reason === "reset" && e) {
|
||||
console.log({ e, value, reason });
|
||||
if (value) {
|
||||
router.push(`/f/${value.split(".").join("/")}`);
|
||||
router.push(`/f/${value.split(".").join("/")}`.split(" ")[0]);
|
||||
} else {
|
||||
handleSubmit(value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user