Skip to content

Commit

Permalink
fix: Restore flow privacy pages (#2799)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Feb 16, 2024
1 parent adf4c91 commit ed7d245
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions editor.planx.uk/src/pages/layout/PublicLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,6 @@ const PublicFooter: React.FC = () => {
const setting = flowSettings?.elements && flowSettings?.elements[key];

if (setting?.show) {
if (key == "privacy") {
return {
title: setting.heading,
href: "https://www.planx.uk/privacy",
newTab: true,
};
}
return {
title: setting.heading,
href: makeHref(key),
Expand Down

0 comments on commit ed7d245

Please sign in to comment.