You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// For compatibility for old contracts.// TODO: This is to be deleted in a later release, once contracts are recreated.'state/vuex/commit': (key,data)=>{switch(key){case'deleteChatRoomScrollPosition':
case'setChatRoomScrollPosition':
returnsbp('okTurtles.events/emit',NEW_CHATROOM_UNREAD_POSITION,data)// These are handled by eventscase'removeNotification':
returncase'setCurrentChatRoomId':
return}thrownewError('Invalid selector `state/vuex/commit`: Not allowed in SW.')}
There might be some other code in the project we won't need anymore for the "Final breaking changes" milestone.
Solution
Remove this code. For some of the old code, e.g. upgrade code, it would be better to comment it out instead of removing it, as it will remain as a useful example for when we need to perform upgrades again.
The text was updated successfully, but these errors were encountered:
Problem
There's some code we don't need after we wipe everything.
E.g. from #2514:
There might be some other code in the project we won't need anymore for the "Final breaking changes" milestone.
Solution
Remove this code. For some of the old code, e.g. upgrade code, it would be better to comment it out instead of removing it, as it will remain as a useful example for when we need to perform upgrades again.
The text was updated successfully, but these errors were encountered: