astro-tractstack 2.0.0-rc.21 → 2.0.0-rc.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-tractstack",
3
- "version": "2.0.0-rc.21",
3
+ "version": "2.0.0-rc.22",
4
4
  "description": "Astro integration for TractStack - redeeming the web from boring experiences",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -133,10 +133,15 @@ if (!brandConfig.SITE_INIT) {
133
133
  <div class="overflow-hidden">
134
134
  <CodeHook
135
135
  target={codeHookTargets[paneId]}
136
- paneId={paneId}
136
+ options={(() => {
137
+ const optionsStr =
138
+ codeHookTargets[paneId + '-' + codeHookTargets[paneId]];
139
+ return optionsStr
140
+ ? { params: { options: optionsStr } }
141
+ : undefined;
142
+ })()}
137
143
  fullContentMap={fullContentMap}
138
144
  resourcesPayload={resourcesPayload}
139
- noPaneId={true}
140
145
  />
141
146
  </div>
142
147
  ) : (