mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
This commit removes unused imports and dependencies in the Listposts component, improving code cleanliness and reducing potential confusion.
20 lines
388 B
PHP
20 lines
388 B
PHP
<?php
|
|
|
|
namespace App\View\Components\Posts;
|
|
|
|
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
|
|
use Illuminate\Contracts\View\View;
|
|
use Illuminate\View\Component;
|
|
|
|
class Listposts extends Component
|
|
{
|
|
public function __construct(public LengthAwarePaginator $posts)
|
|
{
|
|
}
|
|
|
|
public function render(): View
|
|
{
|
|
return view('components.posts.listposts');
|
|
}
|
|
}
|