Skip to content

Commit

Permalink
refactor: rename CloseButton to LeaveButton in OtherFamiliesOverview
Browse files Browse the repository at this point in the history
  • Loading branch information
chennara committed Dec 13, 2023
1 parent da441bb commit b28da82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const OtherFamiliesOverview = () => {
</Typography>
<Typography size="small">{selectedFamily?.email}</Typography>
</Styled.FamilyCard>
<Styled.CloseButton
<Styled.LeaveButton
backgroundColor="error.700"
label={t('ONBOARDING.FAMILY.OTHER_FAMILIES.MODAL.CONFIRM')}
onPress={handleLeaveFamily}
Expand Down
2 changes: 1 addition & 1 deletion src/onboarding/family/otherFamiliesOverview/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const FamilyCard = styled.View`
margin-top: 8px;
`;

export const CloseButton = styled(Button)`
export const LeaveButton = styled(Button)`
margin-top: 32px;
margin-bottom: 8px;
`;

0 comments on commit b28da82

Please sign in to comment.