diff --git a/src/components/Inbox/GroupDialogAvatar.tsx b/src/components/Inbox/GroupDialogAvatar.tsx index f68a4b17..49df5ffe 100644 --- a/src/components/Inbox/GroupDialogAvatar.tsx +++ b/src/components/Inbox/GroupDialogAvatar.tsx @@ -21,7 +21,7 @@ const GroupDialogAvatar = (props: Props) => { {(user) => ( { const [isLoadMoreButtonVisible, setIsLoadMoreButtonVisible] = createSignal(false) const author = createMemo(() => authorEntities()[props.authorSlug]) - const subscribers = new Array(12).fill(author()) + const subscribers = Array.from({ length: 12 }).fill(author()) const { searchParams, changeSearchParam } = useRouter() const loadMore = async () => {