Skip to content

Commit

Permalink
Remove sync for session storage
Browse files Browse the repository at this point in the history
  • Loading branch information
RuslanMelnychenko committed Sep 19, 2020
1 parent 9d7a2ff commit 976cbff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/bindStorage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ export default async (ctx, options) => {
const path = prefix.length ? event.key.slice(prefix.length): event.key;
const module = localStoreNames.find((e) => {
return e.path === path
}) || sessionStoreNames.find((e) => {
return e.path === path
});
if(!module) return false;
const newData = handlerData(event.newValue).value
Expand Down

0 comments on commit 976cbff

Please sign in to comment.