From befe131295f421c5a59e0277b374dde16d11c4d6 Mon Sep 17 00:00:00 2001 From: bh-ethz Date: Thu, 11 Apr 2024 15:51:01 +0200 Subject: [PATCH] linter --- .../DataUseTerms/DataUseTermsSelector.tsx | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/website/src/components/DataUseTerms/DataUseTermsSelector.tsx b/website/src/components/DataUseTerms/DataUseTermsSelector.tsx index 71e541b3ef..a0c689123a 100644 --- a/website/src/components/DataUseTerms/DataUseTermsSelector.tsx +++ b/website/src/components/DataUseTerms/DataUseTermsSelector.tsx @@ -1,6 +1,7 @@ import { type FC } from 'react'; + import { routes } from '../../routes/routes.ts'; -import { type DataUseTermsType, openDataUseTermsType, restrictedDataUseTermsType, } from '../../types/backend.ts'; +import { type DataUseTermsType, openDataUseTermsType, restrictedDataUseTermsType } from '../../types/backend.ts'; import Locked from '~icons/fluent-emoji-high-contrast/locked'; import Unlocked from '~icons/fluent-emoji-high-contrast/unlocked'; @@ -9,10 +10,7 @@ type DataUseTermsSelectorProps = { setDataUseTermsType: (dataUseTermsType: DataUseTermsType) => void; }; -const DataUseTermsSelector: FC = ({ - dataUseTermsType, - setDataUseTermsType, -}) => { +const DataUseTermsSelector: FC = ({ dataUseTermsType, setDataUseTermsType }) => { return ( <>
@@ -24,18 +22,18 @@ const DataUseTermsSelector: FC = ({ checked={dataUseTermsType === openDataUseTermsType} className='h-4 w-4 p-2 border-gray-300 text-iteal-600 focus:ring-iteal-600 inline-block' /> -
@@ -55,13 +53,16 @@ const DataUseTermsSelector: FC = ({ Restricted
- Data will be restricted for a period of time. The sequences will be available but - there will be limitations on how they can be used by others.{' '} - Find out more. + Data will be restricted for a period of time. The sequences will be available but there will be + limitations on how they can be used by others.{' '} + + Find out more + + .
); }; -export default DataUseTermsSelector; \ No newline at end of file +export default DataUseTermsSelector;