Files
new-phone-who-dis/phone/src/apps/sellout/hooks/useListing.ts
T

8 lines
197 B
TypeScript

import { useRecoilValue } from 'recoil';
import { selloutState } from './state';
export const useListing = () => {
const listing = useRecoilValue(selloutState.listing);
return { listing };
};