Skip to content

Commit

Permalink
chore: Updated logic for privacy policy in Dixclosure
Browse files Browse the repository at this point in the history
  • Loading branch information
rijuma committed Jul 11, 2024
1 parent 7e6a5a1 commit 7867ea2
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions src/components/Disclosure/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,21 @@ const Disclosure = ({ children }) => (
</ul>
</div>
</div>
<p className="disclaimer text-light-100 py-3">
<strong>Note: </strong>
This chat is AI generated (powered by ChatGPT). Mistakes are possible.
By using it you agree that edX may create a record of this chat.
Your personal data will be used as described in our&nbsp;
<Hyperlink
className="privacy-policy-link text-light-100"
destination={getConfig().PRIVACY_POLICY_URL ?? ''}
>
privacy policy
</Hyperlink>
.
</p>
{getConfig().PRIVACY_POLICY_URL ? (
<p className="disclaimer text-light-100 py-3">
<strong>Note: </strong>
This chat is AI generated (powered by ChatGPT). Mistakes are possible.
By using it you agree that edX may create a record of this chat.
Your personal data will be used as described in our&nbsp;
<Hyperlink
className="privacy-policy-link text-light-100"
destination={getConfig().PRIVACY_POLICY_URL}
>
privacy policy
</Hyperlink>
.
</p>
) : null }
{children}
</div>
);
Expand Down

0 comments on commit 7867ea2

Please sign in to comment.