mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
7 lines
227 B
TypeScript
7 lines
227 B
TypeScript
import { useRecoilState } from 'recoil';
|
|
import { callerState } from './state';
|
|
|
|
export const useDuration = () => {
|
|
const [duration, setDuration] = useRecoilState(callerState.callDuration);
|
|
return { duration, setDuration}
|
|
} |