cms-laravel/app/Livewire/DashboardRoute.php

21 lines
342 B
PHP

<?php
namespace App\Livewire;
use Livewire\Component;
class DashboardRoute extends Component
{
public $isAuthenticated = true;
public function mount($isAuthenticated = true)
{
$this->isAuthenticated = $isAuthenticated;
}
public function render()
{
return view('livewire.dashboard-route');
}
}