@scrabble-solver/scrabble-solver 2.13.5 → 2.13.6
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/eslint/.cache_8dgz12 +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/edge-server-production/0.pack +0 -0
- package/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/807.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/index.json +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/chunks/pages/{_app-8788856de4b1b755.js → _app-cccda36d00fa2328.js} +1 -1
- package/.next/trace +44 -44
- package/package.json +9 -9
- package/src/hooks/useLocalStorage.ts +8 -0
- /package/.next/static/{w6DXAmYMqW0zwT34pDH0d → 4GWIKe7khKxREyq3ZamDK}/_buildManifest.js +0 -0
- /package/.next/static/{w6DXAmYMqW0zwT34pDH0d → 4GWIKe7khKxREyq3ZamDK}/_ssgManifest.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/scrabble-solver",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.6",
|
|
4
4
|
"description": "Scrabble Solver 2 - App",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16"
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"@floating-ui/react": "^0.26.16",
|
|
31
31
|
"@kamilmielnik/trie": "^3.0.0",
|
|
32
32
|
"@reduxjs/toolkit": "^2.2.5",
|
|
33
|
-
"@scrabble-solver/configs": "^2.13.
|
|
34
|
-
"@scrabble-solver/constants": "^2.13.
|
|
35
|
-
"@scrabble-solver/dictionaries": "^2.13.
|
|
36
|
-
"@scrabble-solver/logger": "^2.13.
|
|
37
|
-
"@scrabble-solver/solver": "^2.13.
|
|
38
|
-
"@scrabble-solver/types": "^2.13.
|
|
39
|
-
"@scrabble-solver/word-definitions": "^2.13.
|
|
33
|
+
"@scrabble-solver/configs": "^2.13.6",
|
|
34
|
+
"@scrabble-solver/constants": "^2.13.6",
|
|
35
|
+
"@scrabble-solver/dictionaries": "^2.13.6",
|
|
36
|
+
"@scrabble-solver/logger": "^2.13.6",
|
|
37
|
+
"@scrabble-solver/solver": "^2.13.6",
|
|
38
|
+
"@scrabble-solver/types": "^2.13.6",
|
|
39
|
+
"@scrabble-solver/word-definitions": "^2.13.6",
|
|
40
40
|
"classnames": "^2.5.1",
|
|
41
41
|
"env-cmd": "^10.1.0",
|
|
42
42
|
"include-media": "^2.0.0",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"@types/redux-saga": "^0.10.5",
|
|
74
74
|
"sass": "^1.77.4"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "940c0be24a464f8db603e4f6e7cb727486e9b154"
|
|
77
77
|
}
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
selectInputMode,
|
|
9
9
|
selectLocale,
|
|
10
10
|
selectRack,
|
|
11
|
+
selectShowCoordinates,
|
|
11
12
|
useTypedSelector,
|
|
12
13
|
} from 'state';
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const useLocalStorage = () => {
|
|
|
18
19
|
const inputMode = useTypedSelector(selectInputMode);
|
|
19
20
|
const locale = useTypedSelector(selectLocale);
|
|
20
21
|
const rack = useTypedSelector(selectRack);
|
|
22
|
+
const showCoordinates = useTypedSelector(selectShowCoordinates);
|
|
21
23
|
|
|
22
24
|
useEffect(() => {
|
|
23
25
|
if (autoGroupTiles) {
|
|
@@ -54,6 +56,12 @@ const useLocalStorage = () => {
|
|
|
54
56
|
localStorage.setRack(rack);
|
|
55
57
|
}
|
|
56
58
|
}, [rack]);
|
|
59
|
+
|
|
60
|
+
useEffect(() => {
|
|
61
|
+
if (showCoordinates) {
|
|
62
|
+
localStorage.setShowCoordinates(showCoordinates);
|
|
63
|
+
}
|
|
64
|
+
}, [showCoordinates]);
|
|
57
65
|
};
|
|
58
66
|
|
|
59
67
|
export default useLocalStorage;
|
|
File without changes
|
|
File without changes
|