@tanstack/react-router-devtools 0.0.1-alpha.2 → 0.0.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/packages/react-router-devtools/src/Explorer.js.map +1 -1
- package/build/cjs/packages/react-router-devtools/src/useLocalStorage.js.map +1 -1
- package/build/cjs/packages/react-router-devtools/src/useMediaQuery.js +4 -0
- package/build/cjs/packages/react-router-devtools/src/useMediaQuery.js.map +1 -1
- package/build/esm/index.js +4 -0
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +2675 -2675
- package/build/umd/index.development.js +4 -0
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -2
- package/src/Explorer.tsx +1 -1
- package/src/useLocalStorage.ts +5 -5
- package/src/useMediaQuery.ts +3 -0
|
@@ -981,6 +981,8 @@
|
|
|
981
981
|
if (typeof window !== 'undefined') {
|
|
982
982
|
return window.matchMedia && window.matchMedia(query).matches;
|
|
983
983
|
}
|
|
984
|
+
|
|
985
|
+
return;
|
|
984
986
|
}); // Watch for changes
|
|
985
987
|
|
|
986
988
|
React__default["default"].useEffect(() => {
|
|
@@ -1006,6 +1008,8 @@
|
|
|
1006
1008
|
matcher.removeListener(onChange);
|
|
1007
1009
|
};
|
|
1008
1010
|
}
|
|
1011
|
+
|
|
1012
|
+
return;
|
|
1009
1013
|
}, [isMatch, query, setIsMatch]);
|
|
1010
1014
|
return isMatch;
|
|
1011
1015
|
}
|