I am having a problem where I want to be able to access a function that is inside a component, and use it in another function elsewhere. I had an error that says that I need