web: fix npm build
This commit is contained in:
parent
4c2b4589ac
commit
e6eee0732c
|
@ -2,7 +2,7 @@
|
|||
|
||||
import { useEffect } from 'react'
|
||||
|
||||
export default function ({ url }: { url: string }) {
|
||||
export default function Downloader({ url }: { url: string }) {
|
||||
useEffect(() => {
|
||||
window.location.href = url
|
||||
}, [])
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import { useState } from 'react'
|
||||
|
||||
export default function () {
|
||||
export default function Signup() {
|
||||
const [email, setEmail] = useState('')
|
||||
const [success, setSuccess] = useState(false)
|
||||
|
||||
|
|
Loading…
Reference in a new issue