Skip to content

Commit

Permalink
cleanup console
Browse files Browse the repository at this point in the history
  • Loading branch information
mithunhegde-egov committed Dec 18, 2024
1 parent 60650ad commit a8a7f8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,13 +300,12 @@ const DigitJSONForm = ({
}
}, [formData, MdmsRes, schema]);

// Define second upsert mutation using custom API hook
const reqCriteriaSecondUpsert = {
url: `/localization/messages/v1/_upsert`,
params: {},
body: {},
config: {
enabled: false, // We'll call mutateAsync manually
enabled: false,
},
};
const secondFormatLocalizationMutation = Digit.Hooks.useCustomAPIMutationHook(reqCriteriaSecondUpsert);
Expand All @@ -324,9 +323,6 @@ const DigitJSONForm = ({
}
}


// Construct second format localization messages
// no conditions changed, just always attempt creation
const schemaCodeParts = schema?.code?.split(".") || [];
const firstPart = schemaCodeParts[0]?.toLowerCase() || "default";
const secondPart = schemaCodeParts[1]?.toUpperCase() || "";
Expand Down
2 changes: 1 addition & 1 deletion micro-ui/web/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link
href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap"
rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected].48/dist/index.css" />
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected].49/dist/index.css" />
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#00bcd1" />
Expand Down

0 comments on commit a8a7f8c

Please sign in to comment.