Fix email search redirect
Oh oops, I missed this path change when I changed the route to `/user/:id/lists`! This caused searching by email to redirect to the homepage, but with a valid URL in the address bar; and refreshing the page would hit the redirect defined in `vercel.json`, redirect to the new route, and load the correct page. Fixed!
This commit is contained in:
parent
eb2eb241ba
commit
b5865bf699
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ function UserSearchForm() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
history.push(`/user/${user.id}/items`);
|
history.push(`/user/${user.id}/lists`);
|
||||||
},
|
},
|
||||||
onError: (error) => {
|
onError: (error) => {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|
Loading…
Reference in a new issue