Skip to content

Commit

Permalink
remove optional param
Browse files Browse the repository at this point in the history
The default value is 0
  • Loading branch information
SidneyNemzer committed Jun 23, 2024
1 parent da91d2b commit 18a4497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/Store.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Store {

this.deserializer = deserializer;
this.serializedPortListener = withDeserializer(deserializer)((...args) => this.browserAPI.runtime.onMessage.addListener(...args));
this.serializedMessageSender = withSerializer(serializer)((...args) => this.browserAPI.runtime.sendMessage(...args), 0);
this.serializedMessageSender = withSerializer(serializer)((...args) => this.browserAPI.runtime.sendMessage(...args));
this.listeners = [];
this.state = state;
this.patchStrategy = patchStrategy;
Expand Down

0 comments on commit 18a4497

Please sign in to comment.