Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Feb 27, 2025
1 parent 272dfd2 commit 8999e73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/pages/policy/PolicyRightSidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1155,10 +1155,9 @@ export default function PolicyRightSidebar(props) {
)}
<FullLiteToggle metadata={metadata} />
<BehavioralResponseToggle metadata={metadata} policy={policy} />
{metadata.countryId === "uk" &&
(
<LocalAreaFunctionalitySelector />
)}
{metadata.countryId === "uk" && (
<LocalAreaFunctionalitySelector />
)}
</div>
}
/>
Expand Down
5 changes: 3 additions & 2 deletions src/pages/policy/output/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ export function getPolicyOutputTree(countryId, searchParams = {}) {
}
return !!searchParams[param];
};
const uk_local_areas_beta = hasParam("uk_local_areas_beta") ?
searchParams.get("uk_local_areas_beta") : false;
const uk_local_areas_beta = hasParam("uk_local_areas_beta")
? searchParams.get("uk_local_areas_beta")
: false;

const tree = [
{
Expand Down

0 comments on commit 8999e73

Please sign in to comment.