From 2c9c2fc5152023a5ed272699947a031f9ee6658a Mon Sep 17 00:00:00 2001 From: celine Date: Tue, 21 Oct 2025 03:35:50 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8=20feat:=20=EC=A0=95=EB=A0=AC=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20=EC=8B=9C=20=ED=8E=98=EC=9D=B4=EC=A7=80?= =?UTF-8?q?=EB=84=A4=EC=9D=B4=EC=85=98=201=EB=B2=88=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=9D=B4=EB=8F=99=20#97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/features/noticeList/noticeListSection.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/features/noticeList/noticeListSection.tsx b/src/components/features/noticeList/noticeListSection.tsx index 6d18a56..5bc23c4 100644 --- a/src/components/features/noticeList/noticeListSection.tsx +++ b/src/components/features/noticeList/noticeListSection.tsx @@ -28,8 +28,8 @@ const NoticeListSection = ({ q, initialFilters }: NoticeListSectionProps) => { fetchNotices({ sort })} - onFilterSubmit={filter => fetchNotices(filter)} + onSortChange={sort => fetchNotices({ sort, offset: 0 })} + onFilterSubmit={filter => fetchNotices({ ...filter, offset: 0 })} /> Date: Tue, 21 Oct 2025 03:37:12 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=92=84=20design:=20=EB=A0=88=EC=9D=B4?= =?UTF-8?q?=EC=95=84=EC=9B=83=20=EC=8B=9C=ED=94=84=ED=8A=B8=20=EB=B0=A9?= =?UTF-8?q?=EC=A7=80=20#97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../features/noticeList/noticeListSection.tsx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/components/features/noticeList/noticeListSection.tsx b/src/components/features/noticeList/noticeListSection.tsx index 5bc23c4..8fd5a62 100644 --- a/src/components/features/noticeList/noticeListSection.tsx +++ b/src/components/features/noticeList/noticeListSection.tsx @@ -40,15 +40,16 @@ const NoticeListSection = ({ q, initialFilters }: NoticeListSectionProps) => { isInitialized={isInitialized} reset={reset} /> - {!isLoading && ( - fetchNotices({ offset: next })} - className='mt-8 tablet:mt-10' - /> - )} +
+ {!isLoading && ( + fetchNotices({ offset: next })} + /> + )} +
); };