From a4f2352de9038a367ac31dcb0919b64dc2d43788 Mon Sep 17 00:00:00 2001 From: jungmir Date: Tue, 8 Oct 2024 14:10:47 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=ED=9B=84=EC=9B=90=EC=82=AC=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=9D=B4=EB=8F=99=20?= =?UTF-8?q?=EC=8B=9C=20=EC=83=81=EB=8B=A8=20=EC=BD=98=ED=85=90=EC=B8=A0?= =?UTF-8?q?=EA=B0=80=20=EB=B3=B4=EC=9D=B4=EB=8F=84=EB=A1=9D=20=EC=8A=A4?= =?UTF-8?q?=ED=81=AC=EB=A1=A4=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Sponsor/SponsorDetail.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/Sponsor/SponsorDetail.tsx b/src/pages/Sponsor/SponsorDetail.tsx index 0913a68..3e88e7e 100644 --- a/src/pages/Sponsor/SponsorDetail.tsx +++ b/src/pages/Sponsor/SponsorDetail.tsx @@ -9,6 +9,13 @@ import styled from "styled-components"; import { useRetrieveSponsorQuery } from "utils/hooks/useAPI"; const SponsorDetail: React.FC<{ sponsor: APISponsor }> = ({ sponsor }) => { + useEffect(() => { + window.scrollTo({ + top: 0, + behavior: "smooth", + }); + }, []); + return (

{sponsor.name}