[PlayerPanel] chat error

This commit is contained in:
고동영
2024-06-12 13:52:28 +09:00
parent 1dee132213
commit a736afe141
6 changed files with 67 additions and 33 deletions

View File

@@ -99,7 +99,7 @@ export const getSubTitle =
dispatch({
type: types.GET_SUBTITLE,
payload: {url: showSubtitleUrl, data: response.data.data},
payload: { url: showSubtitleUrl, data: response.data.data },
});
};
@@ -107,11 +107,11 @@ export const getSubTitle =
console.error("getSubTitle onFail", error);
dispatch({
type: types.GET_SUBTITLE,
payload: {url: showSubtitleUrl, data: "Error"},
payload: { url: showSubtitleUrl, data: "Error" },
});
};
if(!getState().play.subTitleBlobs[showSubtitleUrl]){
if (!getState().play.subTitleBlobs[showSubtitleUrl]) {
TAxios(
dispatch,
getState,
@@ -122,8 +122,14 @@ export const getSubTitle =
onSuccess,
onFail
);
}else{
console.log("playActions getSubTitle no Nothing it's exist", showSubtitleUrl);
} else {
console.log(
"playActions getSubTitle no Nothing it's exist",
showSubtitleUrl
);
}
};
export const CLEAR_PLAYER_INFO = () => ({
type: types.CLEAR_PLAYER_INFO,
});