@compill/admin 1.0.38 → 1.0.39

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/index.cjs.js CHANGED
@@ -2194,7 +2194,7 @@ function Internal({
2194
2194
  });
2195
2195
  const save = useMutate(mutation, {
2196
2196
  processInput,
2197
- successMsg: item => `${item.title} updated.`,
2197
+ successMsg: (item, values) => `${item.title} updated.`,
2198
2198
  errorMsg: (error, item) => `Error updating ${item.title}: ${error}`
2199
2199
  });
2200
2200
  let editorMaxW = undefined;
package/index.esm.js CHANGED
@@ -2185,7 +2185,7 @@ function Internal({
2185
2185
  });
2186
2186
  const save = useMutate(mutation, {
2187
2187
  processInput,
2188
- successMsg: item => `${item.title} updated.`,
2188
+ successMsg: (item, values) => `${item.title} updated.`,
2189
2189
  errorMsg: (error, item) => `Error updating ${item.title}: ${error}`
2190
2190
  });
2191
2191
  let editorMaxW = undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compill/admin",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "module": "./index.esm.js",
5
5
  "main": "./index.cjs.js"
6
6
  }