mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 16:26:59 +00:00
web: fix npm build
This commit is contained in:
@@ -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
|
||||||
}, [])
|
}, [])
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user