I have 2 input fileds for uploading 2 JSON files. The data in those files are used to set the state of the component. After uploading both the files, I want to redirect to anoth