The main logic of the component is that when the page is loaded, need to save the parameters from the url (token) and pass them from the dispatch() function.To
dispatch()