We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b88d3d6 commit 1849030Copy full SHA for 1849030
apps/demo/config/blocks/Template/index.tsx
@@ -113,8 +113,8 @@ export const TemplateInternal: ComponentConfig<TemplateProps> = {
113
template: "example_1",
114
children: [],
115
},
116
- resolveData: async (data, { changed }) => {
117
- if (!changed.template) return data;
+ resolveData: async (data, { changed, trigger }) => {
+ if (!changed.template || trigger === "load") return data;
118
119
const templateKey = `puck-demo-templates:${componentKey}`;
120
0 commit comments