Skip to content

Commit d897ad8

Browse files
committed
2 parents 186da40 + 219030f commit d897ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/pages/docs/use-toaster.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const Notifications = () => {
9292
});
9393

9494
const ref = (el) => {
95-
if (el && !toast.height) {
95+
if (el && typeof toast.height !== "number") {
9696
const height = el.getBoundingClientRect().height;
9797
updateHeight(toast.id, height);
9898
}

0 commit comments

Comments
 (0)