From 57116f50e8237d53bf3de5ba3b6bbe4cf5aec9bc Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Tue, 13 Feb 2024 00:44:16 +0000 Subject: [PATCH] Hard coded the website link because there are some problems with ENV variables in the frontend --- src/hooks/useAcceptedTerms.tsx | 40 +++++++++++++++------------------- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/src/hooks/useAcceptedTerms.tsx b/src/hooks/useAcceptedTerms.tsx index c77c0067..8bf2bf77 100644 --- a/src/hooks/useAcceptedTerms.tsx +++ b/src/hooks/useAcceptedTerms.tsx @@ -3,30 +3,24 @@ import Link from "next/link"; import Checkbox from "@/components/Low/Checkbox"; const useAcceptedTerms = () => { - const [acceptedTerms, setAcceptedTerms] = React.useState(false); + const [acceptedTerms, setAcceptedTerms] = React.useState(false); - const renderCheckbox = () => ( - - I agree to the - - {" "} - Terms and Conditions - {" "} - and - - {" "} - Privacy Policy - - - ); + const renderCheckbox = () => ( + + I agree to the + + {" "} + Terms and Conditions + {" "} + and + + {" "} + Privacy Policy + + + ); - return { acceptedTerms, renderCheckbox }; + return {acceptedTerms, renderCheckbox}; }; -export default useAcceptedTerms; \ No newline at end of file +export default useAcceptedTerms;