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:
parent
e9440ff996
commit
8201db2f66
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user