mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-17 15:36:50 +00:00
Fix SitesPage open modal typescript error
This commit is contained in:
parent
b7876ec995
commit
10847ccedd
@ -43,7 +43,7 @@ export default function SitesPage({ username, name }: SitesPageProps) {
|
|||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
className="btn btn-primary"
|
className="btn btn-primary"
|
||||||
onClick={() => document.getElementById('add_site')?.showModal()}
|
onClick={() => (document.getElementById('add_site') as HTMLDialogElement)?.showModal()}
|
||||||
>
|
>
|
||||||
<Plus className="w-5 h-5" />
|
<Plus className="w-5 h-5" />
|
||||||
Add Site
|
Add Site
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user