From 8746cb43b0d30875e66c94f66bff15ce583c08e1 Mon Sep 17 00:00:00 2001 From: Danish Arora Date: Mon, 28 Oct 2024 14:16:39 +0530 Subject: [PATCH] chore: rename telemetry to privacy policy --- .../src/components/TelemetryOptIn.tsx | 10 +++---- .../src/components/TelemetryPage.tsx | 28 +++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/examples/buddybook/src/components/TelemetryOptIn.tsx b/examples/buddybook/src/components/TelemetryOptIn.tsx index 8dd1cf9..bda4ae0 100644 --- a/examples/buddybook/src/components/TelemetryOptIn.tsx +++ b/examples/buddybook/src/components/TelemetryOptIn.tsx @@ -6,22 +6,22 @@ import { ScrollArea } from "@/components/ui/scroll-area"; import { privacyPolicy } from '@/lib/privacyPolicy'; import ReactMarkdown from 'react-markdown'; -interface TelemetryOptInProps { +interface PrivacyPolicyOptInProps { onOptIn: (optIn: boolean) => void; } -const TelemetryOptIn: React.FC = ({ onOptIn }) => { +const PrivacyPolicyOptIn: React.FC = ({ onOptIn }) => { const [showFullPolicy, setShowFullPolicy] = useState(false); return (
- Telemetry Data Collection + Privacy Policy & Data Collection

- We collect telemetry data to improve our services. This data is anonymous and helps us understand how our application is used. You can opt-in or opt-out of this data collection. + We collect data to improve our services. This data is anonymous and helps us understand how our application is used. You can opt-in or opt-out of this data collection.

@@ -54,4 +54,4 @@ const TelemetryPage: React.FC = () => { ); }; -export default TelemetryPage; +export default PrivacyPolicyPage;