We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce023fb commit 4f29d5eCopy full SHA for 4f29d5e
src/useBreakpointsValues.ts
@@ -21,9 +21,7 @@ export function useBreakpointsValues() {
21
mutation =>
22
mutation.target === htmlElement &&
23
mutation.attributeName === "style" &&
24
- (assert(mutation.oldValue !== null), mutation.oldValue).indexOf(
25
- "font-size"
26
- ) !== -1
+ (mutation.oldValue ?? "").indexOf("font-size") !== -1
27
) !== undefined
28
) {
29
triggerRefresh();
0 commit comments