Web: Editor: Added parameter check.
This commit is contained in:
parent
892a9bafe7
commit
aa483f1eb7
@ -55,7 +55,7 @@ const App = ({ initialLanguage, initialI18nStoreASC, setTheme, ...rest }) => {
|
||||
}, [rest?.config?.documentType]);
|
||||
|
||||
useEffect(() => {
|
||||
if (rest.error?.errorStatus === 402) {
|
||||
if (rest?.error?.errorStatus === 402) {
|
||||
const portalUrl = window.location.origin;
|
||||
|
||||
history.pushState({}, null, portalUrl);
|
||||
|
Loading…
Reference in New Issue
Block a user