Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 10:59:21 +08:00

chore: 适配 typescript 5.6.x

This commit is contained in:
pany 2024-09-19 19:56:29 +08:00
parent e9440ff996
commit 8201db2f66

View File

@ -16,7 +16,6 @@ const handleChangeTheme = ({ clientX, clientY }: MouseEvent, themeName: ThemeNam
const handler = () => {
setTheme(themeName)
}
// @ts-expect-error
document.startViewTransition ? document.startViewTransition(handler) : handler()
}
</script>