fixes stt paras
This commit is contained in:
parent
ba5b0fa8e8
commit
0e89ed2a64
1 changed files with 2 additions and 1 deletions
|
|
@ -416,7 +416,7 @@ export function FormGeneratorTree<T = any>({
|
|||
className,
|
||||
}: FormGeneratorTreeProps<T>) {
|
||||
const { t } = useLanguage();
|
||||
const { confirm } = useConfirm();
|
||||
const { confirm, ConfirmDialog } = useConfirm();
|
||||
const { prompt, PromptDialog } = usePrompt();
|
||||
const [nodes, setNodes] = useState<TreeNode<T>[]>([]);
|
||||
const [expandedIds, setExpandedIds] = useState<Set<string>>(new Set());
|
||||
|
|
@ -1032,6 +1032,7 @@ export function FormGeneratorTree<T = any>({
|
|||
</div>
|
||||
)}
|
||||
<PromptDialog />
|
||||
<ConfirmDialog />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue