File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
src/components/CippComponents Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,6 @@ export const CippFormComponent = (props) => {
343
343
< RichTextEditor
344
344
{ ...other }
345
345
ref = { field . ref }
346
- key = { field . value ? "edit" : "" }
347
346
extensions = { [ StarterKit ] }
348
347
content = { field . value || "" }
349
348
onUpdate = { ( { editor } ) => {
@@ -432,7 +431,7 @@ export const CippFormComponent = (props) => {
432
431
control = { formControl . control }
433
432
rules = { validators }
434
433
render = { ( { field } ) => (
435
- < Box sx = { { display : ' flex' , alignItems : ' center' , gap : 1 } } >
434
+ < Box sx = { { display : " flex" , alignItems : " center" , gap : 1 } } >
436
435
< Box sx = { { flexGrow : 1 } } >
437
436
< DateTimePicker
438
437
slotProps = { { textField : { fullWidth : true } } }
@@ -481,11 +480,11 @@ export const CippFormComponent = (props) => {
481
480
field . onChange ( unixTimestamp ) ;
482
481
} }
483
482
sx = { {
484
- height : ' 42px' ,
485
- minWidth : ' 42px' ,
486
- padding : ' 8px 12px' ,
487
- alignSelf : ' flex-end' ,
488
- marginBottom : ' 0px' , // Adjust to align with input field
483
+ height : " 42px" ,
484
+ minWidth : " 42px" ,
485
+ padding : " 8px 12px" ,
486
+ alignSelf : " flex-end" ,
487
+ marginBottom : " 0px" , // Adjust to align with input field
489
488
} }
490
489
title = "Set to current date and time"
491
490
>
You can’t perform that action at this time.
0 commit comments