Skip to content

Commit

Permalink
Minor: comment fix (#33502)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima Voytenko committed Mar 25, 2021
1 parent 9cb59ce commit 5d90476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preact/slot.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function useSlotContext(ref) {
};
}, [ref, context]);

// Unmount and unmount. Keep it at the bottom because it's much better to
// Mount and unmount. Keep it at the bottom because it's much better to
// execute `pause` before `unmount` in this case.
// This has to be a layout-effect to capture the old `Slot.assignedElements`
// before the browser undistributes them.
Expand Down

0 comments on commit 5d90476

Please sign in to comment.