mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-14 20:11:22 +00:00
fixes
This commit is contained in:
parent
b6a7e44c06
commit
0d6b0f8f2d
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user