mirror of
https://github.com/docmost/docmost.git
synced 2025-11-16 20:11:12 +10:00
refactor: merge to single file
This commit is contained in:
@ -25,7 +25,7 @@ export default function PageImportModal({
|
||||
open,
|
||||
onClose,
|
||||
}: PageImportModalProps) {
|
||||
const { t } = useTranslation("page");
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<>
|
||||
<Modal.Root
|
||||
@ -57,7 +57,7 @@ interface ImportFormatSelection {
|
||||
onClose: () => void;
|
||||
}
|
||||
function ImportFormatSelection({ spaceId, onClose }: ImportFormatSelection) {
|
||||
const { t } = useTranslation("page");
|
||||
const { t } = useTranslation();
|
||||
const [treeData, setTreeData] = useAtom(treeDataAtom);
|
||||
|
||||
const handleFileUpload = async (selectedFiles: File[]) => {
|
||||
|
||||
Reference in New Issue
Block a user