Unverified Commit d3138559 authored by Sjors Smits's avatar Sjors Smits Committed by GitHub

Wrap last return statement in `else` to fix tree shaking (#27788)

## Bug

- [x] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

fixes #27744
parent 504d4783
......@@ -103,9 +103,9 @@ export function getDomainLocale(
}${locale === detectedDomain.defaultLocale ? '' : `/${locale}`}${path}`
}
return false
} else {
return false
}
return false
}
export function addLocale(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment