refactor: remove polling in get login config

This commit is contained in:
zerosoul
2022-06-07 17:55:37 +08:00
parent 5c471d72f7
commit 06da664e05
+1 -1
View File
@@ -26,7 +26,7 @@ export default function LoginPage() {
const { const {
data: loginConfig, data: loginConfig,
isSuccess: loginConfigSuccess, isSuccess: loginConfigSuccess,
} = useGetLoginConfigQuery(undefined, { pollingInterval: 10000 }); } = useGetLoginConfigQuery();
const [input, setInput] = useState({ const [input, setInput] = useState({
email: "", email: "",
password: "", password: "",