From cbea27c6c141a0a4faf50f4be8661306cbf411b7 Mon Sep 17 00:00:00 2001 From: Kevin Wu Date: Wed, 27 Dec 2023 17:06:50 -0800 Subject: [PATCH] fix: small fixes (#29) * chore: update update date * fix: url param university -> uni --- components/hero/hero.tsx | 2 +- components/search/blurb.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/hero/hero.tsx b/components/hero/hero.tsx index 7a07448..9ca6726 100644 --- a/components/hero/hero.tsx +++ b/components/hero/hero.tsx @@ -50,7 +50,7 @@ const Hero = () => { const handleSubmit = (e: FormEvent) => { e.preventDefault(); router.push( - `/search?university=${encodeURIComponent( + `/search?uni=${encodeURIComponent( university, )}&ge=${encodeURIComponent(ge)}`, ); diff --git a/components/search/blurb.tsx b/components/search/blurb.tsx index 841ed42..b458de2 100644 --- a/components/search/blurb.tsx +++ b/components/search/blurb.tsx @@ -55,7 +55,7 @@ const SearchBlurb = (props: BlurbProps) => { information.
- {"GE-Z's"} data was last updated on 12/18 + {"GE-Z's"} data was last updated on 12/27