umwd-components 0.1.241 → 0.1.242

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.
@@ -40,6 +40,9 @@ const schemaUpdate = zod.z.object({
40
40
  ), */
41
41
  });
42
42
  async function updatePageAction(prevState, formData) {
43
+ console.log("id", formData.get("id"));
44
+ console.log("title", formData.get("title"));
45
+ console.log("description", formData.get("description"));
43
46
  const validatedFields = schemaUpdate.safeParse({
44
47
  id: formData.get("id"),
45
48
  title: formData.get("title"),
@@ -38,6 +38,9 @@ const schemaUpdate = z.object({
38
38
  ), */
39
39
  });
40
40
  async function updatePageAction(prevState, formData) {
41
+ console.log("id", formData.get("id"));
42
+ console.log("title", formData.get("title"));
43
+ console.log("description", formData.get("description"));
41
44
  const validatedFields = schemaUpdate.safeParse({
42
45
  id: formData.get("id"),
43
46
  title: formData.get("title"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.241",
3
+ "version": "0.1.242",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -36,6 +36,10 @@ const schemaUpdate = z.object({
36
36
  });
37
37
 
38
38
  export async function updatePageAction(prevState: any, formData: FormData) {
39
+ console.log("id", formData.get("id"));
40
+ console.log("title", formData.get("title"));
41
+ console.log("description", formData.get("description"));
42
+
39
43
  const validatedFields = schemaUpdate.safeParse({
40
44
  id: formData.get("id"),
41
45
  title: formData.get("title"),