refactor: update timers (#729)

* refactor: remove duplication

* refactor: previous times

* refactor: event patching
This commit is contained in:
Carlos Valente
2024-01-25 13:36:45 +01:00
committed by GitHub
parent e748bff0dd
commit 74e1ae609c
32 changed files with 448 additions and 555 deletions
@@ -61,7 +61,7 @@ export default function EventEditor() {
);
if (!event) {
return <span>Loading...</span>;
return <span data-testid='editor-container'>Loading...</span>;
}
// Compositing user fields by hand
@@ -80,7 +80,7 @@ export default function EventEditor() {
};
return (
<div className={style.eventEditor}>
<div className={style.eventEditor} data-testid='editor-container'>
<div>HEADER ACTIONS?</div>
<div className={style.content}>
<EventEditorTimes