@headless-adminapp/app 1.4.8 → 1.4.10
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.
|
@@ -108,6 +108,9 @@ function useFormSave() {
|
|
|
108
108
|
await client.invalidateQueries({
|
|
109
109
|
queryKey: ['data', 'retriveRecords'],
|
|
110
110
|
});
|
|
111
|
+
await client.invalidateQueries({
|
|
112
|
+
queryKey: ['data', 'recordset'],
|
|
113
|
+
});
|
|
111
114
|
showMessageAfterSave({
|
|
112
115
|
mode: record ? 'update' : 'create',
|
|
113
116
|
});
|
package/hooks/useIsMobile.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.useIsTablet = useIsTablet;
|
|
|
8
8
|
const debounce_1 = __importDefault(require("lodash/debounce"));
|
|
9
9
|
const react_1 = require("react");
|
|
10
10
|
function useIsMobile() {
|
|
11
|
-
const [isMobile, setIsMobile] = (0, react_1.useState)(
|
|
11
|
+
const [isMobile, setIsMobile] = (0, react_1.useState)(window.innerWidth < 768);
|
|
12
12
|
(0, react_1.useLayoutEffect)(() => {
|
|
13
13
|
const updateSize = () => {
|
|
14
14
|
setIsMobile(window.innerWidth < 768);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@headless-adminapp/app",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"uuid": "11.0.3",
|
|
39
39
|
"yup": "^1.4.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "15bf23b19736ebfa82c3a730e1d37c018c9b895b"
|
|
42
42
|
}
|