Skip to content
Snippets Groups Projects
Commit 418d9360 authored by tamaina's avatar tamaina
Browse files

add comment

parent 52840faa
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,8 @@ export class Storage<T extends StateDef> {
}
this.pizzaxChannel.addEventListener('message', ({ where, key, value, userId }) => {
// アカウント変更すればunisonReloadが効くため、このreturnが発火することは
// まずないと思うけど一応弾いておく
if (where === 'deviceAccount' && !($i && userId !== $i.id)) return;
this.state[key] = value;
this.reactiveState[key].value = value;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment