Files
new-phone-who-dis/phone/src/apps/sellout/components/SelloutList/SelloutList.tsx
T
Christopher Gjelten 6b6080c4b2 Tweak/marketplace additions (#137)
Checks for being the OP of the listing. Calling, Message, Delete and Report. 

Updates to Locale is needed.
2021-03-07 16:30:58 +01:00

17 lines
391 B
TypeScript

import React from 'react';
import { List } from '../../../../ui/components/List';
import { useListing } from '../../hooks/useListing';
import { SelloutItem } from './SelloutItem';
export const SelloutList = () => {
const listings = useListing();
return (
<List>
{listings.map((listing) => (
<SelloutItem key={listing.id} {...listing} />
))}
</List>
);
};