Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuthara Andrahennedi committed Apr 3, 2024
1 parent bdcf178 commit ee335f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023-2024, WSO2 LLC. (https://www.wso2.com).
* Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -73,7 +73,6 @@ import SecondFactorEMAILOTPSequenceTemplate from "../templates/second-factor-ema
import SecondFactorSMSOTPSequenceTemplate from "../templates/second-factor-sms-otp-sequence.json";
import SecondFactorTOTPSequenceTemplate from "../templates/second-factor-totp-sequence.json";
import SmsOTPSequenceTemplate from "../templates/sms-otp-sequence.json";
// eslint-disable-next-line max-len

/**
* Proptypes for the sign on methods component.
Expand Down Expand Up @@ -200,7 +199,6 @@ export const SignOnMethodsCore: FunctionComponent<SignOnMethodsCorePropsInterfac
ApplicationManagementConstants.AUTHENTICATORS_LOCAL_STORAGE_KEY,
JSON.stringify([])
);

}, []);

/**
Expand All @@ -211,8 +209,7 @@ export const SignOnMethodsCore: FunctionComponent<SignOnMethodsCorePropsInterfac
* re-render the component.
*/
useEffect(() => {

if (authenticationSequence === undefined) {
if (!authenticationSequence) {
return;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023-2024, WSO2 LLC. (https://www.wso2.com).
* Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down

0 comments on commit ee335f4

Please sign in to comment.