Skip to content

Commit

Permalink
feat: route to bdr repo after history push
Browse files Browse the repository at this point in the history
  • Loading branch information
hetd54 committed Jul 24, 2024
1 parent b6e4e76 commit 75907b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/DataForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const DataForm = () => {

const onSubmit: SubmitHandler<Inputs> = async (data) => {
await addHistoryData(data)
// TODO: go to minted DOI
window.location.replace("https://repository.library.brown.edu/studio/item/bdr:p54c6u36/")
}
return (
<Form.Root className="space-y-4" onSubmit={handleSubmit(onSubmit)}>
Expand Down
2 changes: 1 addition & 1 deletion src/firebase.js
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 75907b8

Please sign in to comment.