How to display folder structure and files in the Front End using Next JS
I am trying to show all the subfolders and files in the “data” folder of my project as dropdown elements in the Front End of one of my page.tsx files in my Next JS application, but I can’t find a way to do this without hardcoding the directories…
TypeError: undefined is not an object (evaluating ‘reminder.map’)
this is my reminder-list.tsx, how many time i tricked it, i always fail to do that, how to fix it