Skip to content

Commit

Permalink
Null check added (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshulv1401 authored Jun 21, 2023
1 parent b7e6b91 commit 6ff7e4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mock-relying-party-ui/src/components/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function Login({ i18nKeyPrefix = "login" }) {
claims: JSON.parse(decodeURI(clientDetails.userProfileClaims)),
};

window.SignInWithEsignetButton.init({
window.SignInWithEsignetButton?.init({
oidcConfig: oidcConfig,
buttonConfig: {
shape: "soft_edges",
Expand Down
2 changes: 1 addition & 1 deletion mock-relying-party-ui/src/components/Registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function Registration({
claims: JSON.parse(decodeURI(clientDetails.registrationClaims)),
};

window.SignInWithEsignetButton.init({
window.SignInWithEsignetButton?.init({
oidcConfig: oidcConfig,
buttonConfig: {
shape: "soft_edges",
Expand Down
2 changes: 1 addition & 1 deletion mock-relying-party-ui/src/components/SignUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function SignUp({ i18nKeyPrefix = "signup" }) {
claims: JSON.parse(decodeURI(clientDetails.userProfileClaims)),
};

window.SignInWithEsignetButton.init({
window.SignInWithEsignetButton?.init({
oidcConfig: oidcConfig,
buttonConfig: {
shape: "soft_edges",
Expand Down

0 comments on commit 6ff7e4b

Please sign in to comment.