bugfix: event order

+ bug caused by earlier commit making function async
+ small style changes
+ bug on prev - next
This commit is contained in:
cv
2021-04-24 12:46:38 +02:00
parent 75b8e9b8be
commit b95ba56f45
7 changed files with 42 additions and 46 deletions
@@ -1,3 +1,4 @@
import DeleteIconBtn from '../../../common/components/buttons/DeleteIconBtn';
import ActionButtons from './ActionButtons';
import style from './Block.module.css';
@@ -17,14 +18,12 @@ export default function BlockBlock(props) {
return (
<div className={style.block}>
<div className={style.actionOverlay}>
<DeleteIconBtn clickHandler={deleteHandler} />
<ActionButtons
showDel
deleteHandler={deleteHandler}
showAdd
addHandler={addHandler}
showDelay
delayHandler={delayHandler}
showBlock
/>
</div>
</div>