mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
8 lines
241 B
TypeScript
8 lines
241 B
TypeScript
import { useRecoilState } from 'recoil';
|
|
import { messageState } from './state';
|
|
|
|
export const useImageModal = () => {
|
|
const [imageModal, setImageModal] = useRecoilState(messageState.imageModal);
|
|
return { imageModal, setImageModal };
|
|
};
|