chore: update eslint rules

This commit is contained in:
Steven
2022-09-04 06:48:19 +08:00
parent 4743818fe7
commit b884327a53
25 changed files with 69 additions and 93 deletions

View File

@ -9,14 +9,12 @@ import Dropdown from "../common/Dropdown";
import { showCommonDialog } from "../Dialog/CommonDialog";
import "../../less/settings/member-section.less";
interface Props {}
interface State {
createUserEmail: string;
createUserPassword: string;
}
const PreferencesSection: React.FC<Props> = () => {
const PreferencesSection = () => {
const { t } = useI18n();
const currentUser = useAppSelector((state) => state.user.user);
const [state, setState] = useState<State>({