mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
8 lines
194 B
TypeScript
8 lines
194 B
TypeScript
import { useRecoilValue } from 'recoil';
|
|
import { simcardState } from './state';
|
|
|
|
export const useSimcard = () => {
|
|
const number = useRecoilValue(simcardState.number);
|
|
return { number };
|
|
};
|