mirror of
https://github.com/tooot-app/app
synced 2025-01-05 05:59:15 +01:00
Try to fix weird crash
This commit is contained in:
parent
8fbe5d2cad
commit
911a4e02ee
@ -169,10 +169,11 @@ const instancesSlice = createSlice({
|
||||
action: PayloadAction<Instance['timelinesLookback']>
|
||||
) => {
|
||||
const activeIndex = findInstanceActive(instances)
|
||||
instances[activeIndex].timelinesLookback = {
|
||||
...instances[activeIndex].timelinesLookback,
|
||||
...action.payload
|
||||
}
|
||||
instances[activeIndex] &&
|
||||
(instances[activeIndex].timelinesLookback = {
|
||||
...instances[activeIndex].timelinesLookback,
|
||||
...action.payload
|
||||
})
|
||||
},
|
||||
updateInstanceMePage: (
|
||||
{ instances },
|
||||
|
Loading…
Reference in New Issue
Block a user