mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
initial commit for camera app
This commit is contained in:
1 parent
580fb12e92
commit
5b85efedf1
13 files changed
+334
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { useSetRecoilState } from 'recoil';
|
||||
import { useNuiEvent } from '../../../os/nui-events/hooks/useNuiEvent';
|
||||
import { photoState } from './state';
|
||||
import { usePhotos } from './usePhotos';
|
||||
|
||||
export const usePhotoService = () => {
|
||||
const setPhotos = useSetRecoilState(photoState.photos);
|
||||
useNuiEvent('CAMERA', 'setPhotos', setPhotos);
|
||||
return usePhotos();
|
||||
}
|
||||
Reference in new issue
Block a user