create-puck-app 0.16.0-canary.6d43ba0 → 0.16.0-canary.72b8720
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -9,7 +9,7 @@ export function Client({ path, data }: { path: string; data: Partial<Data> }) {
|
|
9
9
|
<Puck
|
10
10
|
config={config}
|
11
11
|
data={data}
|
12
|
-
onPublish={async (data
|
12
|
+
onPublish={async (data) => {
|
13
13
|
await fetch("/puck/api", {
|
14
14
|
method: "post",
|
15
15
|
body: JSON.stringify({ data, path }),
|
@@ -1 +1 @@
|
|
1
|
-
export { default, generateMetadata } from "./[...puckPath]/page";
|
1
|
+
export { default, generateMetadata, dynamic } from "./[...puckPath]/page";
|