@tanstack/router-devtools 1.45.10 → 1.45.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/router-devtools",
3
- "version": "1.45.10",
3
+ "version": "1.45.13",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -60,7 +60,7 @@
60
60
  "peerDependencies": {
61
61
  "react": ">=18",
62
62
  "react-dom": ">=18",
63
- "@tanstack/react-router": "^1.45.10"
63
+ "@tanstack/react-router": "^1.45.13"
64
64
  },
65
65
  "scripts": {}
66
66
  }
@@ -4,7 +4,7 @@ export default function useMediaQuery(query: string): boolean | undefined {
4
4
  // Keep track of the preference in state, start with the current match
5
5
  const [isMatch, setIsMatch] = React.useState(() => {
6
6
  if (typeof window !== 'undefined') {
7
- // eslint-disable-next-line ts/no-unnecessary-condition
7
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
8
8
  return window.matchMedia && window.matchMedia(query).matches
9
9
  }
10
10
  return
@@ -13,7 +13,7 @@ export default function useMediaQuery(query: string): boolean | undefined {
13
13
  // Watch for changes
14
14
  React.useEffect(() => {
15
15
  if (typeof window !== 'undefined') {
16
- // eslint-disable-next-line ts/no-unnecessary-condition
16
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
17
17
  if (!window.matchMedia) {
18
18
  return
19
19
  }