Add sitemap to build

This commit is contained in:
Misode
2021-10-04 17:43:46 +02:00
parent a014d7a5c7
commit c7d5b06825
5 changed files with 239 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ export const BiomeSourcePreview = ({ model, data, shown, lang, version }: Previe
refineTimeout.current = setTimeout(() => {
res.current = 1
redraw()
}, 150)
}, 150) as any
}
},
async onDrag(dx, dy) {

View File

@@ -154,7 +154,7 @@ export function Generator({ lang, changeTitle, version, onChangeVersion }: Gener
if (copyTimeout.current !== undefined) clearTimeout(copyTimeout.current)
copyTimeout.current = setTimeout(() => {
setCopyActive(false)
}, 2000)
}, 2000) as any
}
const [previewShown, setPreviewShown] = useState(false)