diff --git a/app/Apis/LiveScoresApi.php b/app/Apis/LiveScoresApi.php index 00bd07e..b4607da 100644 --- a/app/Apis/LiveScoresApi.php +++ b/app/Apis/LiveScoresApi.php @@ -43,8 +43,6 @@ public function makeRequest(): Collection return collect(); } - dump("{$this->baseUrl}/{$this->endpointPath}/1.00?MD=1"); - return $this->client() ->get("{$this->endpointPath}/1.00?MD=1") ->throw() diff --git a/resources/views/components/sport-leagues.blade.php b/resources/views/components/sport-leagues.blade.php index 94d8435..9481fe0 100644 --- a/resources/views/components/sport-leagues.blade.php +++ b/resources/views/components/sport-leagues.blade.php @@ -1,6 +1,6 @@ @props(['sport', 'leagues', 'title', 'titleClass'])
{{ $title }}
-@foreach ($leagues as $league) +@forelse ($leagues as $league)
@endforeach
-@endforeach +@empty +
There are no live games currently in progress
+@endforelse