mirror of
https://github.com/pockethost/pockethost.git
synced 2026-02-28 05:53:28 +00:00
fix: click handler type fix
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
'font-medium text-base-content btn btn-outline btn-primary btn-sm capitalize justify-start'
|
||||
|
||||
const handleClick = () => {
|
||||
document.querySelector('.drawer-overlay')?.click()
|
||||
document.querySelector<HTMLElement>('.drawer-overlay')?.click()
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user