Skip to content

Commit

Permalink
remove unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
sumo-slonik committed Nov 13, 2024
1 parent 2b8150c commit 27cc805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/PolicyUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ function getTaxByID(policy: OnyxEntry<Policy>, taxID: string): TaxRate | undefin
function getAllTaxRatesNamesAndKeys(): Record<string, string[]> {
const allTaxRates: Record<string, string[]> = {};
Object.values(allPolicies ?? {})?.forEach((policy) => {
if (!policy?.taxRates?.taxes || !policy?.tax?.trackingEnabled) {
if (!policy?.taxRates?.taxes) {
return;
}
Object.entries(policy?.taxRates?.taxes).forEach(([taxRateKey, taxRate]) => {
Expand Down

0 comments on commit 27cc805

Please sign in to comment.