[Glitch] Profile redesign: Persist filter setting

Port f2f07404b5bacd2d1a17e6b08fd251b4767dd2b2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo 2026-04-07 11:58:57 +02:00 committed by Claire
parent 69b70d48c6
commit 6ddebfdd04

View File

@ -27,8 +27,8 @@ export const AccountTimelineProvider: FC<{
children: ReactNode;
}> = ({ accountId, children }) => {
const storageOptions = {
type: 'session',
prefix: `filters-${accountId}:`,
type: 'local',
prefix: 'account-filters',
} as const;
const [boosts, setBoosts] = useStorageState<boolean>(