Skip to content

Commit 4f29d5e

Browse files
committed
Fix previous release
1 parent ce023fb commit 4f29d5e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/useBreakpointsValues.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ export function useBreakpointsValues() {
2121
mutation =>
2222
mutation.target === htmlElement &&
2323
mutation.attributeName === "style" &&
24-
(assert(mutation.oldValue !== null), mutation.oldValue).indexOf(
25-
"font-size"
26-
) !== -1
24+
(mutation.oldValue ?? "").indexOf("font-size") !== -1
2725
) !== undefined
2826
) {
2927
triggerRefresh();

0 commit comments

Comments
 (0)