Something went wrong. Try again.
softfork of @juliet.paris parfait forked from juliet.paris/parfait
Something went wrong. Try again.
1234567891011/** * Threads to open at their start rather than at the post: "View full thread" in a feed, where * you want to read the conversation from the top down to the reply you saw. */const fromTheTop = new Set<string>();
export const openFromTheTop = (path: string) => fromTheTop.add(path);
/** Whether a thread page was asked to open at its start; answers once. */export const takeFromTheTop = (path: string) => fromTheTop.delete(path);