mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
MVP last read position
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import { ContextsV0 } from './v0'
|
||||
import { ContextsV1 } from './v1'
|
||||
|
||||
const contextsMigration = {
|
||||
1: (state: ContextsV0) => {
|
||||
@ -10,6 +11,11 @@ const contextsMigration = {
|
||||
announcements: { shown: false, unread: 0 }
|
||||
}
|
||||
})
|
||||
},
|
||||
2: (state: ContextsV1) => {
|
||||
// @ts-ignore
|
||||
delete state.mePage
|
||||
return state
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user