diff --git a/src/components/DataForm.tsx b/src/components/DataForm.tsx index 15bf02e..397543f 100644 --- a/src/components/DataForm.tsx +++ b/src/components/DataForm.tsx @@ -17,7 +17,7 @@ const DataForm = () => { const onSubmit: SubmitHandler = async (data) => { await addHistoryData(data) - // TODO: go to minted DOI + window.location.replace("https://repository.library.brown.edu/studio/item/bdr:p54c6u36/") } return ( diff --git a/src/firebase.js b/src/firebase.js index 6234c9d..bb98762 100644 --- a/src/firebase.js +++ b/src/firebase.js @@ -1,6 +1,6 @@ import { initializeApp } from "firebase/app" import { getFirestore, addDoc, collection } from "firebase/firestore" -import firebaseConfig from ".env/firebase-config.json" +import firebaseConfig from "../.env/firebase-config.json" const app = initializeApp(firebaseConfig) const db = getFirestore(app)