From 8631797666b5c1bd1d7f503484bb28ac40b9ca56 Mon Sep 17 00:00:00 2001 From: Hailey Date: Mon, 17 Jun 2024 16:47:39 -0700 Subject: [PATCH] lint errors --- .../StarterPack/StarterPackAvatar.tsx | 37 ------------------- src/screens/StarterPack/StarterPackScreen.tsx | 1 - 2 files changed, 38 deletions(-) delete mode 100644 src/components/StarterPack/StarterPackAvatar.tsx diff --git a/src/components/StarterPack/StarterPackAvatar.tsx b/src/components/StarterPack/StarterPackAvatar.tsx deleted file mode 100644 index da6becae16..0000000000 --- a/src/components/StarterPack/StarterPackAvatar.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import React from 'react' -import {View} from 'react-native' -import {AppBskyGraphDefs} from '@atproto/api' - -import {UserAvatar} from 'view/com/util/UserAvatar' -import {atoms as a} from '#/alf' - -export function StarterPackAvatar({ - starterPack, - size = 60, -}: { - starterPack?: AppBskyGraphDefs.StarterPackView - size?: number -}) { - // TODO listItemsSample shouldn't be optional - if (!starterPack || !starterPack.listItemsSample) return null - - const avatars = starterPack.listItemsSample.map(item => item.subject.avatar) - - return ( - - - - - - - - - - - ) -} diff --git a/src/screens/StarterPack/StarterPackScreen.tsx b/src/screens/StarterPack/StarterPackScreen.tsx index 1d7badf74b..816f70186d 100644 --- a/src/screens/StarterPack/StarterPackScreen.tsx +++ b/src/screens/StarterPack/StarterPackScreen.tsx @@ -176,7 +176,6 @@ function Header({ isOwner={isOwn} avatar={undefined} creator={creator} - starterPack={starterPack} avatarType="starter-pack">