Impl PaginatedItem interface for options

This commit is contained in:
CuriousCorrelation authored and Tom Moor committed 2022-07-17 12:22:25 +01:00
1 parent da1a8287f0
commit fec7695711
1 file changed
+2
@@ -23,11 +23,13 @@ function UserFilter(props: Props) {
const options = React.useMemo(() => {
const userOptions = users.all.map((user) => ({
key: user.id,
id: user.id,
label: user.name,
}));
return [
{
key: "",
id: "",
label: t("Any author"),
},
...userOptions,