Skip to content

Commit

Permalink
refactor: prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mananjadhav committed May 7, 2024
1 parent 22527c7 commit 3dc105d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function XeroTrackingCategoryConfigurationPage({policy}: WithPolicyProps) {
availableCategories.push({
description: translate('workspace.xero.mapXeroCostCentersTo'),
onPress: () => Navigation.navigate(ROUTES.POLICY_ACCOUNTING_XERO_TRACKING_CATEGORIES_MAP_COST_CENTERS.getRoute(policyID)),
title: isValidOption ? translate(`workspace.xero.trackingCategoriesOptions.${costCenterCategoryValue.toLowerCase()}` as TranslationPaths): '',
title: isValidOption ? translate(`workspace.xero.trackingCategoriesOptions.${costCenterCategoryValue.toLowerCase()}` as TranslationPaths) : '',
});
}

Expand All @@ -43,7 +43,7 @@ function XeroTrackingCategoryConfigurationPage({policy}: WithPolicyProps) {
availableCategories.push({
description: translate('workspace.xero.mapXeroRegionsTo'),
onPress: () => Navigation.navigate(ROUTES.POLICY_ACCOUNTING_XERO_TRACKING_CATEGORIES_MAP_REGION.getRoute(policyID)),
title: isValidOption ? translate(`workspace.xero.trackingCategoriesOptions.${regionCategoryValue.toLowerCase()}` as TranslationPaths): '',
title: isValidOption ? translate(`workspace.xero.trackingCategoriesOptions.${regionCategoryValue.toLowerCase()}` as TranslationPaths) : '',
});
}
return availableCategories;
Expand Down

0 comments on commit 3dc105d

Please sign in to comment.