Tweak/marketplace additions (#137)

Checks for being the OP of the listing. Calling, Message, Delete and Report. 

Updates to Locale is needed.
This commit is contained in:
Christopher Gjelten authored and GitHub committed 2021-03-07 16:30:58 +01:00
1 parent 0203ebbe51
commit 6b6080c4b2
13 files changed
+277 -47

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
import { useRecoilValue } from 'recoil';
import { MarketplaceListing } from '../../../common/typings/marketplace';
import { selloutState } from './state';
export const useListing = () => {
const listing = useRecoilValue(selloutState.listing);
return { listing };
return useRecoilValue<MarketplaceListing[]>(selloutState.listing);
};