refract: handle warnings

This commit is contained in:
cv
2021-04-24 16:37:41 +02:00
parent 3f8c6f1192
commit 682d3b4556
21 changed files with 67 additions and 53 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ export default function Editor() {
paddingTop: '3em',
}}
>
<SettingsIconBtn size='md' clickHandler={onOpen} />
<SettingsIconBtn size='md' clickhandler={onOpen} />
<div
style={{
width: 35,
@@ -18,7 +18,7 @@ export default function BlockBlock(props) {
return (
<div className={style.block}>
<div className={style.actionOverlay}>
<DeleteIconBtn clickHandler={deleteHandler} />
<DeleteIconBtn clickhandler={deleteHandler} />
<ActionButtons
showAdd
addHandler={addHandler}
@@ -27,7 +27,7 @@ export default function DelayBlock(props) {
submitHandler={submitHandler}
/>
<div className={style.actionOverlay}>
<DeleteIconBtn clickHandler={deleteHandler} />
<DeleteIconBtn clickhandler={deleteHandler} />
<ActionButtons showAdd addHandler={addHandler} />
</div>
</div>
@@ -113,10 +113,10 @@ export default function EventBlock(props) {
</div>
<div className={style.actionOverlay}>
<VisibleIconBtn
clickHandler={() => setVisible(!visible)}
active={visible}
clickhandler={() => setVisible(!visible)}
active={visible || undefined}
/>
<DeleteIconBtn clickHandler={deleteHandler} />
<DeleteIconBtn clickhandler={deleteHandler} />
<ActionButtons
showAdd
addHandler={addHandler}