Profile redesign: Persist filter setting (#38575)

This commit is contained in:
Echo 2026-04-07 11:58:57 +02:00 committed by GitHub
parent 71e6e50846
commit f2f07404b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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