chore: Improves linting rule to catch mishandled promises (#5506)
This commit is contained in:
@@ -4,6 +4,7 @@ import * as React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import styled from "styled-components";
|
||||
import Avatar from "~/components/Avatar";
|
||||
import { AvatarSize } from "~/components/Avatar/Avatar";
|
||||
import FilterOptions from "~/components/FilterOptions";
|
||||
import useStores from "~/hooks/useStores";
|
||||
|
||||
@@ -27,7 +28,7 @@ function UserFilter(props: Props) {
|
||||
const userOptions = users.all.map((user) => ({
|
||||
key: user.id,
|
||||
label: user.name,
|
||||
icon: <Avatar model={user} showBorder={false} size={18} />,
|
||||
icon: <Avatar model={user} showBorder={false} size={AvatarSize.Small} />,
|
||||
}));
|
||||
return [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user