Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Jan 30, 2024
1 parent 4f62060 commit ff28b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/if.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function ifCondition(
associateDestroyable(ctx, [
() => {
if (placeholder.isConnected) {
placeholder.parentElement!.removeChild(placeholder);
placeholder.parentNode!.removeChild(placeholder);
}
},
runExistingDestructors,
Expand Down

0 comments on commit ff28b6b

Please sign in to comment.