mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
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:
1 parent
0203ebbe51
commit
6b6080c4b2
13 files changed
+277
-47
No files matched your search
@@ -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);
|
||||
};
|
||||
Reference in new issue
Block a user