Skip to content

Commit

Permalink
docs: fix api docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiksta committed Aug 29, 2024
1 parent c9005bf commit 221ea56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export default abstract class Component<
this.onAdded(sub);

this.onRemoved(() => {
console.assert(unsub);
console.assert(unsub !== undefined);
unsub();
});
return subscribable;
Expand Down

0 comments on commit 221ea56

Please sign in to comment.