This is the file in question, and you can see how I’m setting up the Hit object to be exported manually. The entire thing is kind of hard to process and much of how I’m implementing the search functionality is just by following documentation, so I honestly still have no idea how my code is making api calls to the index. I do know that I can specify the attribute I want to be highlighted via props, but I can’t do that in my use case.
TLDR, I have a handleSubmit() method that is supposed to save a specific attribute of what the user clicks on so that I can use it on the next page to make further api calls. Unfortunately, I have no idea how to access that attribute from the Hit.