Commit 2680d109 authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

fix(conso): Fix message shuffling in konnector modal

parent 02028111
......@@ -63,7 +63,7 @@ const KonnectorModal: React.FC<KonnectorModalProps> = ({
useEffect(() => {
const interval = setInterval(() => {
if (open && !state) {
if (open && (!state || state === LOGIN_SUCCESS_EVENT)) {
setIndex((prev: number) => prev + 1)
}
}, 8000)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment