From e0150d9d41d459b27530ecb252ccf2181838a007 Mon Sep 17 00:00:00 2001 From: Andcool-Systems Date: Sun, 20 Oct 2024 20:47:37 +0300 Subject: [PATCH] reverse stars order --- src/app/me/stars/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/me/stars/page.tsx b/src/app/me/stars/page.tsx index e32e980..a45865e 100644 --- a/src/app/me/stars/page.tsx +++ b/src/app/me/stars/page.tsx @@ -32,7 +32,7 @@ const Main = () => { useEffect(() => { authApi.get("user/me/stars").then((response) => { if (response.status === 200) { - setData(response.data as Bandage[]); + setData((response.data as Bandage[]).reverse()); } }) }, []);