diff --git a/libs/api-forum.js b/libs/api-forum.js index fc34fb418c0f26129acc0f6385fdb936ae549338..3ab67d974a468a3ee2f58d627c483118b5a8b6da 100644 --- a/libs/api-forum.js +++ b/libs/api-forum.js @@ -28,7 +28,7 @@ export async function fetchCategories() { */ export async function fetchNextEvents(params) { // Caches to avoid fetching each time it's mounted - if (sessionStorage.getItem('events_forum_nope')) { + if (sessionStorage.getItem('events_forum')) { return JSON.parse(sessionStorage.getItem('events_forum')) } else { const events = await fetch(