Replace lodash with built-ins where possible to reduce bundle size (#1766)
* add tslint rule to disallow lodash.isUndefined * add tslint rule to disallow lodash.isNull * apply fixes
This commit is contained in:
@@ -74,7 +74,7 @@ export const OnboardingCard: React.StatelessComponent<OnboardingCardProps> = ({
|
||||
{continueButtonDisplay && (
|
||||
<Button
|
||||
isDisabled={continueButtonDisplay === 'disabled'}
|
||||
onClick={!_.isUndefined(onContinueButtonClick) ? onContinueButtonClick : onClickNext}
|
||||
onClick={onContinueButtonClick !== undefined ? onContinueButtonClick : onClickNext}
|
||||
fontColor={colors.white}
|
||||
fontSize="15px"
|
||||
backgroundColor={colors.mediumBlue}
|
||||
|
||||
Reference in New Issue
Block a user