Skip to content

Commit dbf55bf

Browse files
committed
fix(circuit): don't show one year old articles when the other are not available
1 parent 66fe4ca commit dbf55bf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/Screens/Racing/circuit.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,7 @@ class CircuitScreenContent extends StatelessWidget {
226226
details['raceReview']['curatedSection']['items'],
227227
)
228228
: Container()
229-
: details['raceCuratedArticles'] != null
230-
? CuratedSection(
231-
details['raceCuratedArticles']['items'],
232-
)
233-
: Container(),
229+
: Container(),
234230
Padding(
235231
padding: EdgeInsets.only(top: 5),
236232
child: Card(

0 commit comments

Comments
 (0)