From 2d5a09c79cae48f62029b8767bae552376e68639 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Thu, 3 Oct 2024 09:36:31 +0800 Subject: [PATCH] fix: fix a problem which will make request list incorrect --- src/client/components/WebhookPlayground.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/WebhookPlayground.tsx b/src/client/components/WebhookPlayground.tsx index e185fab..2cc0596 100644 --- a/src/client/components/WebhookPlayground.tsx +++ b/src/client/components/WebhookPlayground.tsx @@ -82,7 +82,7 @@ export const WebhookPlayground: React.FC = React.memo(() => { )} - {reverse(requestList).map((item) => { + {reverse([...requestList]).map((item) => { return (