refactor: add null safety to content link and standardize closure formatting in ContentRecapsTable

This commit is contained in:
Yoga Pangestu 2026-04-09 11:17:54 +07:00
parent d3dc7c1ab9
commit a92716cb10

View File

@ -41,7 +41,7 @@ public static function configure(Table $table): Table
->searchable()
->sortable()
->wrap()
->description(fn (ContentRecap $contentRecap): string => $contentRecap->link),
->description(fn (ContentRecap $contentRecap): ?string => $contentRecap?->link),
TextColumn::make('type')
->label('Tipe Konten')