From d06a66c59147420c90749999c5ddd09856d489d3 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Sat, 24 May 2025 16:01:44 +0300 Subject: [PATCH] fix missing imports --- src/components/Apps/AppsDevModeNavBar.tsx | 3 ++- src/components/Apps/AppsPrivate.tsx | 2 +- src/qdn/publish/publish.ts | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Apps/AppsDevModeNavBar.tsx b/src/components/Apps/AppsDevModeNavBar.tsx index 798929b..edce516 100644 --- a/src/components/Apps/AppsDevModeNavBar.tsx +++ b/src/components/Apps/AppsDevModeNavBar.tsx @@ -16,6 +16,7 @@ import RefreshIcon from '@mui/icons-material/Refresh'; import { navigationControllerAtom } from '../../atoms/global'; import { AppsDevModeTabComponent } from './AppsDevModeTabComponent'; import { useAtom } from 'jotai'; +import { useTranslation } from 'react-i18next'; export const AppsDevModeNavBar = () => { const [tabs, setTabs] = useState([]); @@ -28,7 +29,7 @@ export const AppsDevModeNavBar = () => { const tabsRef = useRef(null); const [anchorEl, setAnchorEl] = useState(null); const open = Boolean(anchorEl); - + const { t } = useTranslation(); const handleClick = (event) => { setAnchorEl(event.currentTarget); }; diff --git a/src/components/Apps/AppsPrivate.tsx b/src/components/Apps/AppsPrivate.tsx index 56b33d9..143ad0e 100644 --- a/src/components/Apps/AppsPrivate.tsx +++ b/src/components/Apps/AppsPrivate.tsx @@ -37,7 +37,7 @@ import { } from './Apps-styles'; import AddIcon from '@mui/icons-material/Add'; import ImageUploader from '../../common/ImageUploader'; -import { QORTAL_APP_CONTEXT } from '../../App'; +import { getBaseApiReact, QORTAL_APP_CONTEXT } from '../../App'; import { fileToBase64 } from '../../utils/fileReading'; import { objectToBase64 } from '../../qdn/encryption/group-encryption'; import { getFee } from '../../background/background.ts'; diff --git a/src/qdn/publish/publish.ts b/src/qdn/publish/publish.ts index dfe682f..848ddc9 100644 --- a/src/qdn/publish/publish.ts +++ b/src/qdn/publish/publish.ts @@ -88,7 +88,6 @@ export const publishData = async ({ feeAmount, filename, identifier, - isBase64, registeredName, service, tag1,