[apps/cs] chore: 검색 시 pageIndex 초기화 (CS_UT01010101)

This commit is contained in:
2025-07-10 10:10:18 +09:00
parent 7728717e66
commit 63abf8282b
18 changed files with 72 additions and 0 deletions
@@ -61,6 +61,10 @@ function LwpoCodeSection({ upCd }: LwpoCodeSectionProps) {
const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
setPagination({
...pagination,
pageIndex: 0,
});
setSearchParams({
...searchParams,
lwpoCdNm,
@@ -42,6 +42,10 @@ function UpCodeSection({ handleSelectedUpCd }: UpCodeSectionProps) {
const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
setPagination({
...pagination,
pageIndex: 0,
});
setSearchParams({
...searchParams,
keyword,