diff --git a/src/app/features/collectibles/components/collectibes.layout.tsx b/src/app/features/collectibles/components/collectibes.layout.tsx index 8480481421d..ccdae07f19e 100644 --- a/src/app/features/collectibles/components/collectibes.layout.tsx +++ b/src/app/features/collectibles/components/collectibes.layout.tsx @@ -13,8 +13,14 @@ interface CollectiblesLayoutProps { subHeader?: React.ReactNode; children: React.ReactNode; } -export function CollectiblesLayout(props: CollectiblesLayoutProps) { - const { title, isLoading, onRefresh, subHeader, isLoadingMore, children } = props; +export function CollectiblesLayout({ + title, + isLoading, + onRefresh, + subHeader, + isLoadingMore, + children, +}: CollectiblesLayoutProps) { return ( <> diff --git a/src/app/features/collectibles/components/collectible-item.layout.tsx b/src/app/features/collectibles/components/collectible-item.layout.tsx index 06db2c65f37..5be0c1bd80c 100644 --- a/src/app/features/collectibles/components/collectible-item.layout.tsx +++ b/src/app/features/collectibles/components/collectible-item.layout.tsx @@ -30,87 +30,84 @@ export function CollectibleItemLayout({ const [isHovered, bind] = useHover(); return ( - - - - - + + + + {children} + + + + + {title} + + + {subtitle} + + + {onClickSend ? ( + + { + e.stopPropagation(); + onClickSend(); }} - top="0px" - width="100%" + px="space.03" + py="space.02" + textStyle="caption.01" + type="button" > - {children} - + Send + - - - {title} - - - {subtitle} - - - {onClickSend ? ( - - { - e.stopPropagation(); - onClickSend(); - }} - px="space.03" - py="space.02" - textStyle="caption.01" - type="button" - > - Send - - - ) : ( - - )} - + ) : ( + + )} ); }