I\'m trying to call a function that uploads documents to firebase but when I bring it into my component it\'s not being recognized as a function. Here is the component. How