From a26e2c43aec6710bdc6f5928394ff00cc3d62c01 Mon Sep 17 00:00:00 2001 From: Qing Date: Fri, 5 Jan 2024 15:21:20 +0800 Subject: [PATCH] fix build error --- web_app/src/components/DiffusionProgress.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_app/src/components/DiffusionProgress.tsx b/web_app/src/components/DiffusionProgress.tsx index 8c56ad2..851e4ba 100644 --- a/web_app/src/components/DiffusionProgress.tsx +++ b/web_app/src/components/DiffusionProgress.tsx @@ -38,7 +38,7 @@ const DiffusionProgress = () => { } }) - socket.on("diffusion_finish", (data) => { + socket.on("diffusion_finish", () => { setStep(0) })