From 7965952b94816fa6ddd6dca22032aa0a0f5ca88d Mon Sep 17 00:00:00 2001 From: Fraser Date: Fri, 2 Jun 2023 23:28:10 -0400 Subject: [PATCH] change order of followup mixing this feels better when actually using it, even though a question you still might want occationally drops out of scope --- web/src/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/index.tsx b/web/src/pages/index.tsx index c550570..53028c2 100644 --- a/web/src/pages/index.tsx +++ b/web/src/pages/index.tsx @@ -445,7 +445,7 @@ const Home: NextPage = () => { enable((f_old: Followup[]) => { const f_old_filtered = f_old.filter((f) => f.pageid !== data.pageid && !fpids.has(f.pageid)); - return [...f_old_filtered, ...f_new].slice(0, MAX_FOLLOWUPS); // this is correct, it's N and not N-1 in javascript fsr + return [...f_new, ...f_old_filtered].slice(0, MAX_FOLLOWUPS); // this is correct, it's N and not N-1 in javascript fsr }); scroll30();