mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-22 23:52:30 +02:00
fix: tailwind css not applied on production mode after load public-sign script in public profile
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -293,14 +293,14 @@ function PdfRequestFiles(props) {
|
||||
|
||||
if (documentData && documentData.length > 0) {
|
||||
setIsPublicTemplate(true);
|
||||
const getPublicRole = documentData[0].PublicRole[0];
|
||||
const getUniqueIdDetails = documentData[0].Placeholders.find(
|
||||
const getPublicRole = documentData[0]?.PublicRole[0];
|
||||
const getUniqueIdDetails = documentData[0]?.Placeholders.find(
|
||||
(x) => x.Role === getPublicRole
|
||||
);
|
||||
if (getUniqueIdDetails) {
|
||||
setUniqueId(getUniqueIdDetails.Id);
|
||||
}
|
||||
setSignerPos(documentData[0].Placeholders);
|
||||
setSignerPos(documentData[0]?.Placeholders);
|
||||
let placeholdersOrSigners = [];
|
||||
// const placeholder = documentData[0]?.Placeholders;
|
||||
for (const placeholder of documentData[0].Placeholders) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: ["./src/**/*.{js,jsx,ts,tsx}"],
|
||||
content: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
|
||||
theme: {
|
||||
extend: {}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user