From 6dcd2704be646f96c9b5b38885ff55c25d6ddb75 Mon Sep 17 00:00:00 2001 From: p0nch0 d3v Date: Tue, 22 Oct 2024 03:08:52 +0000 Subject: [PATCH] privacy policy style update --- .../privacyPolicy/privacyPolicy.component.tsx | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/apps/client/src/components/privacyPolicy/privacyPolicy.component.tsx b/apps/client/src/components/privacyPolicy/privacyPolicy.component.tsx index 7857f86..1a6466e 100644 --- a/apps/client/src/components/privacyPolicy/privacyPolicy.component.tsx +++ b/apps/client/src/components/privacyPolicy/privacyPolicy.component.tsx @@ -4,14 +4,18 @@ import Markdown from 'react-markdown' export default function PrivacyPolicyComponent() { const [content, setContent] = useState(''); - useEffect(()=>{ + useEffect(() => { fetch('/privacyPolicy.md') - .then((r) => r.text()) - .then(text => { - setContent(text); - }) + .then((r) => r.text()) + .then(text => { + setContent(text); + }) }, []) - return - {content} - + + return ( +
+ + {content} + +
); } \ No newline at end of file