|
|
|
@ -309,7 +309,7 @@ export const useHighlightsForm = () => { |
|
|
|
name: team.name_eng, |
|
|
|
name: team.name_eng, |
|
|
|
})), |
|
|
|
})), |
|
|
|
), |
|
|
|
), |
|
|
|
), 300), |
|
|
|
), 1000), |
|
|
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
|
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
|
|
[formState.teamValue], |
|
|
|
[formState.teamValue], |
|
|
|
) |
|
|
|
) |
|
|
|
@ -362,6 +362,7 @@ export const useHighlightsForm = () => { |
|
|
|
offset: 0, |
|
|
|
offset: 0, |
|
|
|
playerId: formState?.selectedPlayer?.id, |
|
|
|
playerId: formState?.selectedPlayer?.id, |
|
|
|
sportType: formState?.sport?.id, |
|
|
|
sportType: formState?.sport?.id, |
|
|
|
|
|
|
|
sub_only: false, |
|
|
|
}) |
|
|
|
}) |
|
|
|
.then(({ broadcast }) => setPlayerMatches( |
|
|
|
.then(({ broadcast }) => setPlayerMatches( |
|
|
|
broadcast.map((match: Match) => ({ ...match, isChecked: false })), |
|
|
|
broadcast.map((match: Match) => ({ ...match, isChecked: false })), |
|
|
|
|