mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
7 lines
208 B
TypeScript
7 lines
208 B
TypeScript
import { useRecoilState } from 'recoil';
|
|
import { photoState } from './state';
|
|
|
|
export const usePhotoModal = () => {
|
|
const [modal, setModal] = useRecoilState(photoState.modal);
|
|
return { modal, setModal}
|
|
} |