⬆ Bump minor frontend deps

♻ Stop using React.FC
This commit is contained in:
nikolark committed 2022-04-17 15:00:10 +02:00
1 parent a038340e4a
commit 8577fb9f11
13 files changed
+985 -924

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ type UserCardProps = {
};
/** If user is null, then it's the special external user */
export const UserCard: React.FC<UserCardProps> = ({ user, onUser, active = false }) => {
export const UserCard = ({ user, onUser, active = false }: UserCardProps): JSX.Element => {
const classes = clsx(styles.user, { [styles.active]: active });
return (
<button className={classes} onClick={onUser} type="button">