mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
fix code style problem
This commit is contained in:
@@ -111,7 +111,9 @@ const Checkbox: FunctionComponent<{
|
||||
}
|
||||
}
|
||||
}, [ref, checked, indeterminate])
|
||||
const handleClick = () => { ref.current ? ref.current.click() : null }
|
||||
const handleClick = () => {
|
||||
if (ref.current) ref.current.click()
|
||||
}
|
||||
|
||||
return (
|
||||
<span
|
||||
|
||||
Reference in New Issue
Block a user