any type removed

This commit is contained in:
VividTruthKeeper 2022-08-20 00:40:00 +05:00
parent b0f62e2472
commit 2aa318cc01
1 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ const Tournaments = () => {
<div className="container">
<div className="tournaments-banner-inner">
{tournaments[0].id !== -1 ? (
tournaments.map((tournament: any) => {
tournaments.map((tournament: tournamentType) => {
if (tournament.current === 1) {
return (
<div
@ -101,8 +101,8 @@ const Tournaments = () => {
<div className="tournaments-wrapper">
<div className="tournaments-lower">
{tournaments[0].id !== -1
? tournaments.map((tournament: any) => {
if (tournament.current !== "1") {
? tournaments.map((tournament: tournamentType) => {
if (tournament.current !== 1) {
return (
<Tournament
key={uuidv4()}