style: fix warning from eslint

This commit is contained in:
unix
2020-03-19 02:05:17 +08:00
parent 1b2365b89f
commit 596f134c25
22 changed files with 39 additions and 32 deletions

View File

@@ -27,7 +27,7 @@ const ToastContainer: React.FC<React.PropsWithChildren<{}>> = () => {
key={`toast-${t.id}-${i}`}
/>
)),
[toasts, hover],
[toasts, hover],
)
const hoverHandler = (onHover: boolean) => {
if (onHover) {