mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
Feat(Contacts:UI): Dropdown menu for updating contacts
This commit is contained in:
1 parent
8dd9430929
commit
4905de53d2
1 file changed
+7
@@ -0,0 +1,7 @@
|
||||
import { useRecoilState } from 'recoil';
|
||||
import { contactsState } from './state';
|
||||
|
||||
export const useContactModal = () => {
|
||||
const [ showContactModal, setShowContactModal ] = useRecoilState(contactsState.showContactsModal);
|
||||
return { showContactModal, setShowContactModal };
|
||||
}
|
||||
Reference in new issue
Block a user