refactor: remove polling in get login config
This commit is contained in:
@@ -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: "",
|
||||||
|
|||||||
Reference in New Issue
Block a user