ollama/web/app/download/downloader.tsx

12 lines
179 B
TypeScript
Raw Normal View History

'use client'
import { useEffect } from 'react'
export default function ({ url }: { url: string }) {
useEffect(() => {
window.location.href = url
}, [])
return null
}