add image and table node to comment editor

* fix react error
This commit is contained in:
Philipinho
2026-07-03 20:10:07 +01:00
parent 15f893184e
commit 86687d2bf2
5 changed files with 30 additions and 5 deletions
@@ -134,7 +134,7 @@ export default function ConfluenceImportModal({ opened, onClose }: Props) {
};
const handleNextFromCredentials = async () => {
if (form.validate().hasErrors) return;
if ((await form.validate()).hasErrors) return;
setLoading(true);
setError(null);
try {
@@ -53,7 +53,6 @@ export type ImportStatusResponse = {
importedGroups?: number;
totalRestrictedPages?: number;
importedRestrictedPages?: number;
warnings?: string[];
createdAt?: string;
updatedAt?: string;
error?: string;
@@ -81,7 +80,6 @@ export type ConfluenceImportHistoryItem = {
importedRestrictedPages: number;
cancelled: boolean;
spaceKeys: string[];
warnings: string[];
createdAt: string;
updatedAt: string;
creatorId: string | null;