mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
working updates
This commit is contained in:
1 parent
18be1a7d0f
commit
ce951ceecc
10 files changed
+92
-53
No files matched your search
@@ -6,14 +6,12 @@ import { useNoteDetail } from '../hooks/useNoteDetail';
|
||||
|
||||
// add search bar later
|
||||
const NoteList = ({notes}) => {
|
||||
|
||||
const { noteModal, setNoteModal } = useNoteModal();
|
||||
const { detail, setDetail } = useNoteDetail();
|
||||
const { setNoteModal } = useNoteModal();
|
||||
const { setDetail } = useNoteDetail();
|
||||
|
||||
const handleNoteModal = (note) => {
|
||||
setNoteModal(true)
|
||||
setDetail(note)
|
||||
console.log(note.id)
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user