This commit is contained in:
PhilReact 2025-05-30 14:03:19 +03:00
parent b6a7e44c06
commit 0d6b0f8f2d
2 changed files with 3 additions and 9 deletions

View File

@ -86,7 +86,7 @@ export const AppViewer = forwardRef(
useEffect(() => {
const iframe = iframeRef?.current;
if (!iframe) return;
if (!iframe || !iframe?.src) return;
try {
const targetOrigin = new URL(iframe.src).origin;
@ -101,7 +101,7 @@ export const AppViewer = forwardRef(
useEffect(() => {
const iframe = iframeRef?.current;
if (!iframe) return;
if (!iframe || !iframe?.src) return;
try {
const targetOrigin = new URL(iframe.src).origin;

View File

@ -32,13 +32,7 @@ export const AppsDevModeNavBar = () => {
'tutorial',
]);
const theme = useTheme();
const { t } = useTranslation([
'auth',
'core',
'group',
'question',
'tutorial',
]);
const [isNewTabWindow, setIsNewTabWindow] = useState(false);
const tabsRef = useRef(null);