replace leftover RYDTools call with function call

This commit is contained in:
Leon Bubova committed 2021-12-17 23:41:30 +01:00
1 parent d20483737a
commit b599f889cd
1 file changed
+3 -3
+3 -3
View File
@@ -130,12 +130,12 @@ import {
: NEUTRAL_STATE;
let statsSet = false;
RYDTools.getBrowser().runtime.sendMessage(
getBrowser().runtime.sendMessage(
{
message: "set_state",
videoId: getVideoId(window.location.href),
state: getState().current,
likeCount: getLikeCountFromButton() || null
state: getState(storedData).current,
likeCount: getLikeCountFromButton() || null,
},
function (response) {
cLog("response from api:");