mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-15 20:41:21 +00:00
fixes
This commit is contained in:
parent
b6a7e44c06
commit
0d6b0f8f2d
@ -86,7 +86,7 @@ export const AppViewer = forwardRef(
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const iframe = iframeRef?.current;
|
const iframe = iframeRef?.current;
|
||||||
if (!iframe) return;
|
if (!iframe || !iframe?.src) return;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const targetOrigin = new URL(iframe.src).origin;
|
const targetOrigin = new URL(iframe.src).origin;
|
||||||
@ -101,7 +101,7 @@ export const AppViewer = forwardRef(
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const iframe = iframeRef?.current;
|
const iframe = iframeRef?.current;
|
||||||
if (!iframe) return;
|
if (!iframe || !iframe?.src) return;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const targetOrigin = new URL(iframe.src).origin;
|
const targetOrigin = new URL(iframe.src).origin;
|
||||||
|
@ -32,13 +32,7 @@ export const AppsDevModeNavBar = () => {
|
|||||||
'tutorial',
|
'tutorial',
|
||||||
]);
|
]);
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const { t } = useTranslation([
|
|
||||||
'auth',
|
|
||||||
'core',
|
|
||||||
'group',
|
|
||||||
'question',
|
|
||||||
'tutorial',
|
|
||||||
]);
|
|
||||||
const [isNewTabWindow, setIsNewTabWindow] = useState(false);
|
const [isNewTabWindow, setIsNewTabWindow] = useState(false);
|
||||||
const tabsRef = useRef(null);
|
const tabsRef = useRef(null);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user