From 27f5f78a2aa72d5a0860d2c95e9c8dc77725f68c Mon Sep 17 00:00:00 2001
From: jhj2713
Date: Wed, 21 Aug 2024 15:27:44 +0900
Subject: [PATCH] =?UTF-8?q?chore:=20submit=20=EC=97=94=ED=84=B0=20?=
=?UTF-8?q?=EC=B2=98=EB=A6=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
admin/src/pages/LotteryParticipantList/index.tsx | 15 ++++++++++-----
admin/src/pages/LotteryWinnerList/index.tsx | 15 ++++++++++-----
admin/src/pages/RushWinnerList/index.tsx | 14 ++++++++++----
3 files changed, 30 insertions(+), 14 deletions(-)
diff --git a/admin/src/pages/LotteryParticipantList/index.tsx b/admin/src/pages/LotteryParticipantList/index.tsx
index 64273ccb..70c4a208 100644
--- a/admin/src/pages/LotteryParticipantList/index.tsx
+++ b/admin/src/pages/LotteryParticipantList/index.tsx
@@ -1,4 +1,4 @@
-import { useEffect, useMemo, useRef, useState } from "react";
+import { FormEvent, useEffect, useMemo, useRef, useState } from "react";
import { useCookies } from "react-cookie";
import { useNavigate } from "react-router-dom";
import { LotteryAPI } from "@/apis/lotteryAPI";
@@ -123,6 +123,11 @@ export default function LotteryParticipantList() {
patchLotteryExpectation(id);
};
+ const handleSubmitSearch = (e: FormEvent) => {
+ e.preventDefault();
+ handleRefetch();
+ };
+
const expectations = useMemo(
() =>
expectation.map((participant) => [
@@ -176,15 +181,15 @@ export default function LotteryParticipantList() {
-
+
+
-