Skip to content

Commit

Permalink
chore: remove default props
Browse files Browse the repository at this point in the history
  • Loading branch information
MuckT committed Jan 30, 2025
1 parent e1b0cb2 commit 616b2b9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/navigator/Headers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ interface Props {

export function HeaderTitleWithBalance({
title,
token,
token = Currency.Dollar,
switchTitleAndSubtitle = false,
displayCrypto = false,
}: Props) {
Expand Down Expand Up @@ -252,7 +252,3 @@ export const headerWithCloseButton: NativeStackNavigationOptions = {
</View>
),
}

HeaderTitleWithBalance.defaultProps = {
token: Currency.Dollar,
}

0 comments on commit 616b2b9

Please sign in to comment.