Sellout app changed to TS, like how did I not see that

This commit is contained in:
chip committed 2020-10-10 22:40:47 +02:00
1 parent 9db4c7e0be
commit 63de2d9c56
8 files changed

No files matched your search

@@ -0,0 +1,10 @@
import { useNuiEvent } from '../../../os/nui-events/hooks/useNuiEvent';
import { selloutState } from './state';
import { useListing } from './useListing';
import { useSetRecoilState } from 'recoil';
export const useSelloutService = () => {
const setSellout = useSetRecoilState(selloutState.listing);
useNuiEvent('SELLOUT', 'setListings', setSellout);
return useListing()
}