I added a button to fetch courses on click, instead of having it fetch every time the user types something and also refactored how the courses are display
I changed SectionDisplay to a functional component because using class component caused issues with the key prop not being unique for some reason. Functionality should remains the same.
I added a button to fetch courses on click, instead of having it fetch every time the user types something and also refactored how the courses are display