project_mern_memories
project_mern_memories copied to clipboard
Update posts.js reduces to fix unnamed export
Without this fix of naming the variable posts, there is a warning that appears in the console.
Without this fix of naming the variable posts, there is a warning that appears in the console.
Is it working? I am literally trying to sort is export error since last 2 hrs.
Is it working? I am literally trying to sort is export error since last 2 hrs.
It worked for me. The warning disappeared once I made the change.