Enable type checking & disable lint warning

This commit is contained in:
David Baker 2022-05-06 22:55:47 +01:00
commit adc7892d8c
3 changed files with 8 additions and 4 deletions

View file

@ -50,6 +50,7 @@ export const Avatar: React.FC<Props> = ({
return backgroundColors[index];
}, [bgKey, src, fallback]);
/* eslint-disable jsx-a11y/alt-text */
return (
<div
className={classNames(styles.avatar, styles[size || "md"], className)}