Clean up other unlinted lint issues
This commit is contained in:
parent
aa0e19daf0
commit
a2860e698a
3 changed files with 13 additions and 7 deletions
|
@ -21,7 +21,7 @@ import AccessibleButton from "../elements/AccessibleButton";
|
|||
import classNames from "classnames";
|
||||
|
||||
const AvatarSetting = ({avatarUrl, avatarAltText, avatarName, uploadAvatar, removeAvatar}) => {
|
||||
const [isHovering, setIsHovering] = useState();
|
||||
const [isHovering, setIsHovering] = useState(false);
|
||||
const hoveringProps = {
|
||||
onMouseEnter: () => setIsHovering(true),
|
||||
onMouseLeave: () => setIsHovering(false),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue