diff --git a/CHANGELOG.md b/CHANGELOG.md index d82c119e2c6..6b5a135987e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ The types of changes are: - Fix sample app `DATABASE_*` ENV vars for backwards compatibility [#3406](https://github.com/ethyca/fides/pull/3406) - Fix overlay rendering issue by finding/creating a dedicated parent element for Preact [#3397](https://github.com/ethyca/fides/pull/3397) +- Fix the sample app privacy center link to be configurable [#3409](https://github.com/ethyca/fides/pull/3409) ### Changed diff --git a/clients/sample-app/src/components/Home/index.tsx b/clients/sample-app/src/components/Home/index.tsx index 07bd57954cb..ebf5495dd0c 100644 --- a/clients/sample-app/src/components/Home/index.tsx +++ b/clients/sample-app/src/components/Home/index.tsx @@ -8,10 +8,11 @@ import PurchaseModal from "../PurchaseModal"; import css from "./style.module.scss"; interface Props { + privacyCenterUrl: string; products: Product[]; } -const Home = ({ products }: Props) => { +const Home = ({ privacyCenterUrl, products }: Props) => { const [productInPurchase, setProductInPurchase] = useState( null ); @@ -62,7 +63,7 @@ const Home = ({ products }: Props) => {