Skip to content

Commit

Permalink
refactor: replace -> assign
Browse files Browse the repository at this point in the history
  • Loading branch information
hetd54 committed Aug 5, 2024
1 parent f2139d1 commit ebafdc2
Showing 1 changed file with 1 addition and 1 deletion.
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)
window.location.replace("https://repository.library.brown.edu/studio/item/bdr:p54c6u36/")
window.location.assign("https://repository.library.brown.edu/studio/item/bdr:p54c6u36/")
}
return (
<Form.Root
Expand Down

0 comments on commit ebafdc2

Please sign in to comment.