Created loadSession component, which uses a sessionJSON state that in turn triggers a useEffect to first get and remove current tracks then load the new tracks. The sessionJSON state is set initially to the default tracks and is used to to load them in.
Created loadSession component, which uses a sessionJSON state that in turn triggers a useEffect to first get and remove current tracks then load the new tracks. The sessionJSON state is set initially to the default tracks and is used to to load them in.