Merge pull request #1085 from OpenSignLabs/rotatepage_document

fix: resolve daisy-ui theme issue for public-sign script loading
This commit is contained in:
prafull-opensignlabs
2024-08-22 15:10:37 +05:30
committed by GitHub
+1 -1
View File
@@ -56,7 +56,7 @@ document.head.appendChild(tailwindCssLink);
// Create a root and render the wrapper component with initial props
const root = ReactDOM.createRoot(document.getElementById("script-component"));
root.render(
<div>
<div data-theme="opensigncss">
<Provider store={store}>
<PublicScriptFileWrapper initialProps={{ text: "templateId" }} />
</Provider>