Skip to content

Commit

Permalink
Add CommonToU component
Browse files Browse the repository at this point in the history
  • Loading branch information
eunjuhuss committed Dec 4, 2024
1 parent c4d2bc8 commit d12b3eb
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/components/Help.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import React, { useEffect, useState } from "react";
import { Accordion } from "react-accessible-accordion";
import { FormattedMessage, useIntl } from "react-intl";
import AccordionItemTemplate from "./Common/AccordionItemTemplate";
import { CommonToU } from "./Common/CommonToU";
import ScrollToTopButton from "./ScrollToTopButton";

interface ApprovedSecurityKeysTypes {
Expand All @@ -16,7 +17,6 @@ export function Help(): JSX.Element {
const dispatch = useAppDispatch();
const is_configured = useAppSelector((state) => state.config.is_configured);
const signup_link = useAppSelector((state) => state.config.signup_link);
const version = useAppSelector((state) => state.login.tou.version);

const [approvedSecurityKeys, setApprovedSecurityKeys] = useState<ApprovedSecurityKeysTypes>();

Expand Down Expand Up @@ -1273,12 +1273,7 @@ export function Help(): JSX.Element {
defaultMessage="What are eduIDs terms of use?"
/>
</h4>
<p>
<FormattedMessage
description="what are eduIDs terms of use - paragraph"
defaultMessage={`These are the terms that are accepted by the user upon creating an eduID account. You may be asked to accept the terms again if you haven't used the service for a period of time.`}
/>
</p>
<CommonToU version="2016-v1" />
</article>
</AccordionItemTemplate>
<AccordionItemTemplate
Expand Down

0 comments on commit d12b3eb

Please sign in to comment.