mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 20:03:52 +00:00
refract: handle warnings
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user