mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Add eslint ignore on effect that fetches entries on admin opening
This commit is contained in:
@@ -377,6 +377,8 @@ export const LeaderboardAdmin = ({ onLoading, project }: Props) => {
|
||||
|
||||
React.useEffect(() => {
|
||||
if (currentLeaderboard) onFetchLeaderboardEntries();
|
||||
// This has to be executed on component mount to refresh entries on each admin opening
|
||||
// eslint-disable-next-line
|
||||
}, []);
|
||||
|
||||
const onCopy = React.useCallback(
|
||||
|
Reference in New Issue
Block a user