Skip to content

Commit 56bf376

Browse files
committed
confusion
1 parent 60eb979 commit 56bf376

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

modules/obbywiki.com/PlayerInfobox/PlayerInfobox.module.luau

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -279,26 +279,28 @@ function PlayerInfobox.main( frame )
279279
title = 'Featured',
280280
col = 2,
281281
content = {
282-
test:renderItem(
283-
'Most Popular Obby',
284-
test:renderGameCard(
282+
test:renderItem( {
283+
label = 'Most Popular Obby',
284+
colspan = 2,
285+
data = test:renderGameCard(
285286
most_popular_obby.image,
286287
most_popular_obby.name,
287288
get_comma_val( tostring( most_popular_obby.visits or 0 ) ),
288289
month_by_index( tonumber( most_popular_obby.month ) ),
289290
most_popular_obby.year
290291
)
291-
),
292-
test:renderItem(
293-
'Most Recent Obby',
294-
test:renderGameCard(
292+
} ),
293+
test:renderItem( {
294+
label = 'Most Recent Obby',
295+
colspan = 2,
296+
data = test:renderGameCard(
295297
most_recent_obby.image,
296298
most_recent_obby.name,
297299
get_comma_val( tostring( most_recent_obby.visits or 0 ) ),
298300
month_by_index( tonumber( most_recent_obby.month ) ),
299301
most_recent_obby.year
300302
)
301-
),
303+
} ),
302304
-- test:renderItem( 'Peak CCU', obby_stats_peak_ccu .. '+' ),
303305
-- test:renderItem( 'Likes', obby_stats_likes .. '+' ),
304306
}

0 commit comments

Comments
 (0)