This commit is contained in:
Andras Bacsai
2023-06-16 11:01:27 +02:00
parent 2b8467e6a1
commit 2c3ddfd363
14 changed files with 35 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ class InviteLink extends Component
public string $role = 'member';
public function mount()
{
$this->email = config('app.env') === 'local' ? 'test3@example.com' : '';
$this->email = isDev() ? 'test3@example.com' : '';
}
public function viaEmail()
{