fix issue

pull/330/head
vapao 2021-03-31 23:24:42 +08:00
parent dd1cf0e81f
commit a477aa2dcc
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ import store from './store';
export default observer(function () {
const [verify_ip, setVerifyIP] = useState(store.settings.verify_ip);
const [mfa, setMFA] = useState(store.settings.MFA);
const [mfa, setMFA] = useState(store.settings.MFA || {});
function handleChangeVerifyIP(v) {
setVerifyIP(v);