pages s3
This commit is contained in:
parent
a3bc5871c3
commit
d5739d535f
@ -282,7 +282,7 @@ export default function CarnetPage() {
|
||||
// Fetch notes based on the selected folder
|
||||
const fetchNotes = async () => {
|
||||
try {
|
||||
setIsLoading(true);
|
||||
setIsLoadingNotes(true);
|
||||
|
||||
// Convert folder name to lowercase for consistent storage access
|
||||
const folderLowercase = selectedFolder.toLowerCase();
|
||||
@ -303,7 +303,7 @@ export default function CarnetPage() {
|
||||
console.error('Error fetching notes:', error);
|
||||
setNotes([]);
|
||||
} finally {
|
||||
setIsLoading(false);
|
||||
setIsLoadingNotes(false);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user