mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
feat(contacts/nui | calling/client|server): getName | close modal on add | show dail history
This commit is contained in:
1 parent
0f10eac796
commit
89ea248d32
9 files changed
+72
-43
No files matched your search
@@ -1,18 +0,0 @@
|
||||
import { useRecoilState, atom } from 'recoil';
|
||||
|
||||
const dialerHistoryState = atom({
|
||||
key: 'dialerHistory',
|
||||
default: [
|
||||
{
|
||||
id: 1,
|
||||
caller: 'ROCKY',
|
||||
phoneNumber: '000-1112',
|
||||
type: 'outgoing',
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
export const useDialerHistory = () => {
|
||||
const [history, setHistory] = useRecoilState(dialerHistoryState);
|
||||
return { history, setHistory };
|
||||
};
|
||||
Reference in new issue
Block a user