Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
corrideat committed Dec 3, 2024
1 parent b4998ff commit f263fa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/controller/serviceworkers/sw-primary.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ sbp('sbp/selectors/register', {
let obj
return () => {
if (!obj) {
const obj = Object.create(null)
obj = Object.create(null)
Object.defineProperties(obj, Object.fromEntries(Object.entries(getters).map(([getter, fn]: [string, Function]) => {
return [getter, {
get: () => {
Expand Down Expand Up @@ -292,7 +292,7 @@ sbp('okTurtles.events/on', KV_EVENT, ({ contractID, key, data }) => {
default:
return
}
sbp('okTurtles.events/on', CHELONIA_STATE_MODIFIED)
sbp('okTurtles.events/emit', CHELONIA_STATE_MODIFIED)
})

sbp('okTurtles.events/on', NEW_CHATROOM_UNREAD_POSITION, ({ chatRoomID, messageHash }) => {
Expand All @@ -308,5 +308,5 @@ sbp('okTurtles.events/on', NEW_CHATROOM_UNREAD_POSITION, ({ chatRoomID, messageH

delete rootState.chatroom.chatRoomScrollPosition[chatRoomID]
}
sbp('okTurtles.events/on', CHELONIA_STATE_MODIFIED)
sbp('okTurtles.events/emit', CHELONIA_STATE_MODIFIED)
})

0 comments on commit f263fa9

Please sign in to comment.