mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
22 lines
382 B
PHP
22 lines
382 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Nostr;
|
|
|
|
use App\Models\User;
|
|
use Livewire\Component;
|
|
|
|
class Start extends Component
|
|
{
|
|
public ?User $user = null;
|
|
|
|
public function setUser($value)
|
|
{
|
|
$this->user = User::query()->with(['meetups'])->where('nostr', $value['npub'])->first();
|
|
}
|
|
|
|
public function render()
|
|
{
|
|
return view('livewire.nostr.start');
|
|
}
|
|
}
|