Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Jun 4, 2021
1 parent 12222d8 commit c99e22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/start-flash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export const startFlash = async (
complete${doImprov
? ""
: html`, all done!<br /><br /><button
@click=${() => logParent.removeChild(logEl)}
@click=${() => logEl.parentElement?.removeChild(logEl)}
>
Close this dialog
</button>`}`,
Expand Down

0 comments on commit c99e22b

Please sign in to comment.