@openlettermarketing/olc-react-sdk 0.0.15 → 0.0.16
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/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.tsx +12 -12
package/package.json
CHANGED
package/src/index.tsx
CHANGED
|
@@ -64,17 +64,17 @@ const TemplateBuilder = ({
|
|
|
64
64
|
|
|
65
65
|
// Example to run the project locally for development. Comment out these lines when building the application
|
|
66
66
|
|
|
67
|
-
const rootElement = document.getElementById('root');
|
|
68
|
-
if (rootElement) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} else {
|
|
77
|
-
|
|
78
|
-
}
|
|
67
|
+
// const rootElement = document.getElementById('root');
|
|
68
|
+
// if (rootElement) {
|
|
69
|
+
// TemplateBuilder({
|
|
70
|
+
// container: rootElement,
|
|
71
|
+
// apiKey: import.meta.env.VITE_APP_ACCESS_TOKEN,
|
|
72
|
+
// mode: 'live',
|
|
73
|
+
// secretKey: import.meta.env.VITE_APP_PLOTNO_API_KEY,
|
|
74
|
+
// styles: {}
|
|
75
|
+
// });
|
|
76
|
+
// } else {
|
|
77
|
+
// console.error("Root element '#root' not found in the document.");
|
|
78
|
+
// }
|
|
79
79
|
|
|
80
80
|
export default TemplateBuilder;
|