fix(ui) uxt fixes
This commit is contained in:
parent
99ed87c45a
commit
522eb87f83
1 changed files with 1 additions and 2 deletions
|
|
@ -31,12 +31,11 @@ function LivePlayerBlockHeader(props: any) {
|
|||
metaList,
|
||||
closedLive = false,
|
||||
siteId,
|
||||
location,
|
||||
isMultiview,
|
||||
} = props;
|
||||
|
||||
React.useEffect(() => {
|
||||
const queryParams = new URLSearchParams(location.search);
|
||||
const queryParams = new URLSearchParams(document.location.search);
|
||||
setHideBack(queryParams.has('iframe') && queryParams.get('iframe') === 'true');
|
||||
}, []);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue