mirror of
https://github.com/wassname/stampy-chat.git
synced 2026-09-11 12:50:34 +08:00
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
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user