We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am seeing an error when running in chrome:
Uncaught (in promise) Error: Expected at most 1 argument for query(), got 2. It looks like this line here:
Uncaught (in promise) Error: Expected at most 1 argument for query(), got 2
https://github.com/tshaddix/webext-redux/blob/master/src/wrap-store/wrapStore.js#L166
it's trying to supply a callback function, but browser.tabs.query does not take any callback parameters and instead returns a promise.
browser.tabs.query
I think that call to tabs.query needs to use .then() instead, unless I'm missing something?
.then()
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/query
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am seeing an error when running in chrome:
Uncaught (in promise) Error: Expected at most 1 argument for query(), got 2
. It looks like this line here:https://github.com/tshaddix/webext-redux/blob/master/src/wrap-store/wrapStore.js#L166
it's trying to supply a callback function, but
browser.tabs.query
does not take any callback parameters and instead returns a promise.I think that call to tabs.query needs to use
.then()
instead, unless I'm missing something?https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/query
The text was updated successfully, but these errors were encountered: