react_devtools_backend.js: 4026 WARNUNG: Eine Komponente kann nicht aktualisieren (`browSerger`), während sie eine andere Komponente (` login`) rendern.
const LiveMatches = (props: LiveMatchesProps) => {
const {
dateMatches,
draftingConfig,
sportId,
getDateMatches,
} = props;
useEffect(() => {
if (!dateMatches) {
const date = new Date();
getDateMatches({ sportId, date });
}
}, [dateMatches, getDateMatches, sportId]);
return (<div>{component stuff here..}</div>);
};
AHMED SHARIF