mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
editor refactoring
This commit is contained in:
parent
1f9c6ac8f7
commit
bd5122f365
5 changed files with 28 additions and 40 deletions
|
@ -67,11 +67,7 @@ const EditorDialogUnconnected: FC<IProps> = ({ onRequestClose, editor, statuses,
|
|||
<form onSubmit={onSubmit} className={styles.form}>
|
||||
<ScrollDialog buttons={buttons} width={860} onClose={onRequestClose}>
|
||||
<div className={styles.editor}>
|
||||
<ImageEditor
|
||||
data={data}
|
||||
pending_files={temp.filter(id => !!statuses[id]).map(id => statuses[id])}
|
||||
setData={setData}
|
||||
/>
|
||||
<ImageEditor data={data} setData={setData} temp={temp} setTemp={setTemp} />
|
||||
</div>
|
||||
</ScrollDialog>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue