Skip to content

Commit

Permalink
fix(store): dont persist video
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwoodland committed Aug 31, 2022
1 parent 31d1f70 commit 22be181
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions plugins/thirdparty/persist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const mutationsBlacklist = [
'chat/addFile',
'textile/setMessageLoading',
'groups/setSubscriptionId',
'video',
]

// State properties path to blacklist saving to store
Expand Down
2 changes: 1 addition & 1 deletion store/video/state.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { VideoState } from './types'

const InitialVideoState = (): VideoState => ({
disabled: false,
disabled: true,
})

export default InitialVideoState

0 comments on commit 22be181

Please sign in to comment.