From 18a44979341f437059ca1318ffa711fe27ff5c92 Mon Sep 17 00:00:00 2001 From: Sidney Nemzer Date: Sun, 23 Jun 2024 13:33:01 -0400 Subject: [PATCH] remove optional param The default value is 0 --- src/store/Store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/Store.js b/src/store/Store.js index 689cce3..c220b01 100644 --- a/src/store/Store.js +++ b/src/store/Store.js @@ -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;