Skip to content
Snippets Groups Projects
Verified Commit fd020d16 authored by MickGe's avatar MickGe :tiger2:
Browse files

fix nothing to display

parent 2e3ec13e
Branches dev
No related tags found
No related merge requests found
......@@ -160,6 +160,7 @@ export const getData = async (url, token) => {
return {newsFeedEl, bookmarksNb};
} catch(e) {
console.error(e);
newsFeedEl.innerHTML = '<h2>Nothing to display…</h2>';
return newsFeedEl;
}
return 'Nothing to display…';
};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment