From 3b2382b59b06d9e52fd642f0fc6685d2280217f4 Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Wed, 21 Dec 2022 23:39:40 +0300 Subject: [PATCH] Fixed linter errors --- src/components/Inbox/GroupDialogAvatar.tsx | 2 +- src/components/Views/Author.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 () => {