removed blade and htmx
This commit is contained in:
@@ -23,7 +23,9 @@ class Svelte
|
||||
mixed $data = [],
|
||||
): View|Factory {
|
||||
$context = [];
|
||||
$context["user"] = toArray($this->authService->getCurrentUser());
|
||||
$context["user"] = $this->authService->isLoggedIn()
|
||||
? $this->authService->getCurrentUser()
|
||||
: null;
|
||||
$context["view"] = $view;
|
||||
$context["layout"] = $layout;
|
||||
$context["title"] = $title;
|
||||
|
||||
Reference in New Issue
Block a user