diff options
author | crupest <crupest@outlook.com> | 2023-07-11 01:07:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 01:07:57 +0800 |
commit | a702dff4b62090a4e5453a8b9236824288df0c4f (patch) | |
tree | 0deae7f40692345c8e4b1473cdddbd13e0e5586d /FrontEnd/src/views/settings/index.tsx | |
parent | 4cb87464fea217e1d0969747d6a17e88973982e7 (diff) | |
parent | d46b1aed549938c9f5e3e658b4098e71b5e2acf7 (diff) | |
download | timeline-a702dff4b62090a4e5453a8b9236824288df0c4f.tar.gz timeline-a702dff4b62090a4e5453a8b9236824288df0c4f.tar.bz2 timeline-a702dff4b62090a4e5453a8b9236824288df0c4f.zip |
Merge pull request #1381 from crupest/front-dev
Re-bootstrap front end.
Diffstat (limited to 'FrontEnd/src/views/settings/index.tsx')
-rw-r--r-- | FrontEnd/src/views/settings/index.tsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/FrontEnd/src/views/settings/index.tsx b/FrontEnd/src/views/settings/index.tsx index 31726dc2..ccaf86d2 100644 --- a/FrontEnd/src/views/settings/index.tsx +++ b/FrontEnd/src/views/settings/index.tsx @@ -1,4 +1,5 @@ -import React, { useState } from "react"; +import { useState } from "react"; +import * as React from "react"; import { useNavigate } from "react-router-dom"; import { useTranslation } from "react-i18next"; import classNames from "classnames"; @@ -70,7 +71,7 @@ function SettingItemContainer({ "row settings-item mx-0", first && "first", onClick && "clickable", - className + className, )} onClick={onClick} > @@ -133,7 +134,7 @@ const SelectSettingsItem: React.FC<SelectSettingItemProps> = ({ ); }; -const SettingsPage: React.FC = (_) => { +const SettingsPage: React.FC = () => { const { i18n } = useTranslation(); const user = useUser(); const navigate = useNavigate(); @@ -148,7 +149,7 @@ const SettingsPage: React.FC = (_) => { >(null); const [registerCode, setRegisterCode] = useState<undefined | null | string>( - undefined + undefined, ); const [bookmarkVisibility, setBookmarkVisibility] = |