mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
8 lines
231 B
TypeScript
8 lines
231 B
TypeScript
import { useRecoilState } from 'recoil';
|
|
import { photoState } from './state';
|
|
|
|
export const useShareLink = () => {
|
|
const [shareLink, setShareLink] = useRecoilState(photoState.shareLink);
|
|
return { shareLink, setShareLink };
|
|
};
|