update url

This commit is contained in:
Alex
2024-02-27 11:52:51 +00:00
parent c4c0516820
commit 325a8889ab

View File

@@ -70,9 +70,9 @@ export default function Upload({
const [urlName, setUrlName] = useState('')
const [url, setUrl] = useState('')
const urlOptions: urlOption[] = [
{ label: 'Github', value: 'github' },
{ label: 'Sitemap', value: 'Sitemap' },
{ label: 'Link', value: 'link' }]
{ label: 'Crawler', value: 'crawler' },
{ label: 'Sitemap', value: 'sitemap' },
{ label: 'Link', value: 'url' }]
const [urlType, setUrlType] = useState<urlOption>(null)
const [activeTab, setActiveTab] = useState<string>('file');
const [files, setfiles] = useState<File[]>([]);