@hanzogui/web 7.3.1 → 7.3.2
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.
|
@@ -199,7 +199,7 @@ function useMedia(componentContext, debug) {
|
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
|
-
const getServerSnapshot = () => initState;
|
|
202
|
+
const getServerSnapshot = () => initState ?? getMedia();
|
|
203
203
|
let disableMediaTouch = false;
|
|
204
204
|
function _disableMediaTouch(val) {
|
|
205
205
|
disableMediaTouch = val;
|
|
@@ -160,7 +160,7 @@ function useMedia(componentContext, debug) {
|
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
const getServerSnapshot = () => initState;
|
|
163
|
+
const getServerSnapshot = () => initState ?? getMedia();
|
|
164
164
|
let disableMediaTouch = false;
|
|
165
165
|
function _disableMediaTouch(val) {
|
|
166
166
|
disableMediaTouch = val;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/web",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.2",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"author": "Hanzo AI <dev@hanzo.ai>",
|
|
6
6
|
"repository": {
|
|
@@ -41,13 +41,6 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"scripts": {
|
|
45
|
-
"build": "gui-build",
|
|
46
|
-
"watch": "gui-build --watch",
|
|
47
|
-
"clean": "gui-build clean",
|
|
48
|
-
"clean:build": "gui-build clean:build",
|
|
49
|
-
"test:web": "vitest --typecheck --run"
|
|
50
|
-
},
|
|
51
44
|
"dependencies": {
|
|
52
45
|
"@hanzogui/compose-refs": "7.3.1",
|
|
53
46
|
"@hanzogui/constants": "7.3.1",
|
|
@@ -89,5 +82,12 @@
|
|
|
89
82
|
"react-native": {
|
|
90
83
|
"optional": true
|
|
91
84
|
}
|
|
85
|
+
},
|
|
86
|
+
"scripts": {
|
|
87
|
+
"build": "gui-build",
|
|
88
|
+
"watch": "gui-build --watch",
|
|
89
|
+
"clean": "gui-build clean",
|
|
90
|
+
"clean:build": "gui-build clean:build",
|
|
91
|
+
"test:web": "vitest --typecheck --run"
|
|
92
92
|
}
|
|
93
|
-
}
|
|
93
|
+
}
|