Changes in Directory.
This commit is contained in:
parent
35d5310cee
commit
2df8187ade
@ -13,7 +13,7 @@ const NotesCardViewDirectory = ({ notes, setNotes, searchText, selectedNoteNames
|
||||
const fetchNotes = async () => {
|
||||
setLoading(true);
|
||||
try {
|
||||
const response = await DirectoryRepository.GetNotes(1000, 1);
|
||||
const response = await DirectoryRepository.GetNotes(20, 1);
|
||||
const fetchedNotes = response.data?.data || [];
|
||||
setAllNotes(fetchedNotes);
|
||||
} catch (error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user