Skip to content

Commit

Permalink
MOSIP-32738 removed descText from props
Browse files Browse the repository at this point in the history
Signed-off-by: MadhuMosip <[email protected]>
  • Loading branch information
MadhuMosip committed May 8, 2024
1 parent 83e20fb commit 671f9eb
Show file tree
Hide file tree
Showing 6 changed files with 11,118 additions and 11,123 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
displayWide = false,
showAnotherWayIfPresent = true,
headerNode,
// descText,
// showUsernameNode = null,
infoNode = null,
kcContext,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export default function Login(props: PageProps<Extract<KcContext, { pageId: "log
<p className="text-pTextColor text-xl font-semibold">{msg("loginDesc")}</p>
</>
}
descText={msg("loginDesc")}
infoNode={
<div id="kc-registration" className="text-center mt-4">
<span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default function Register(props: PageProps<Extract<KcContext, { pageId: "
{msg("requiredFieldsTwo")} <span className="required">*</span> {msg("requiredFields")}
</span>
</>
} descText={msg("regDesc")}>
}>
<form id="kc-register-form" className={getClassName("kcFormClass")} action={url.registrationAction} method="post">
<div className={clsx(getClassName("kcFormGroupClass"), messagesPerField.printIfExists("partnerType", getClassName("kcFormGroupErrorClass")))}>
<div className={getClassName("kcLabelWrapperClass")}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export default function RegisterUserProfile(props: PageProps<Extract<KcContext,
displayMessage={messagesPerField.exists("global")}
displayRequiredFields={true}
headerNode={msg("registerTitle")}
descText='hello'
>
<form id="kc-register-form" className={getClassName("kcFormClass")} action={url.registrationAction} method="post">
<UserProfileFormFields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function Terms(props: PageProps<Extract<KcContext, { pageId: "ter
}

return (
<Template {...{ kcContext, i18n, doUseDefaultCss, classes }} displayMessage={false} headerNode={msg("termsTitle")} descText='hello'>
<Template {...{ kcContext, i18n, doUseDefaultCss, classes }} displayMessage={false} headerNode={msg("termsTitle")}>
<div id="kc-terms-text">
<Markdown>{termMarkdown}</Markdown>
</div>
Expand Down
Loading

0 comments on commit 671f9eb

Please sign in to comment.