This commit is contained in:
Olivier Gagnon
2021-09-25 13:31:42 -04:00
parent f7aa393a8f
commit ef17f0d617
9 changed files with 38 additions and 24 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export function FactionsRoot(props: IProps): React.ReactElement {
setRerender((old) => !old);
}
useEffect(() => {
const id = setInterval(rerender, 1000);
const id = setInterval(rerender, 200);
return () => clearInterval(id);
}, []);
function openFaction(faction: Faction): void {