web: fix npm build

This commit is contained in:
Jeffrey Morgan 2023-07-12 17:28:00 -07:00
parent 4c2b4589ac
commit e6eee0732c
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
import { useEffect } from 'react' import { useEffect } from 'react'
export default function ({ url }: { url: string }) { export default function Downloader({ url }: { url: string }) {
useEffect(() => { useEffect(() => {
window.location.href = url window.location.href = url
}, []) }, [])

View file

@ -2,7 +2,7 @@
import { useState } from 'react' import { useState } from 'react'
export default function () { export default function Signup() {
const [email, setEmail] = useState('') const [email, setEmail] = useState('')
const [success, setSuccess] = useState(false) const [success, setSuccess] = useState(false)