remove unused code

This commit is contained in:
ayntk-ai
2024-08-29 21:47:17 +02:00
parent 6820fcc084
commit da0398f35d

View File

@@ -14,7 +14,6 @@ use Illuminate\Support\Facades\Auth;
class Danger extends Component class Danger extends Component
{ {
public $resource; public $resource;
public $service;
public $resourceName; public $resourceName;
public $projectUuid; public $projectUuid;
public $environmentName; public $environmentName;
@@ -102,7 +101,6 @@ class Danger extends Component
} }
try { try {
// $this->authorize('delete', $this->resource);
$this->resource->delete(); $this->resource->delete();
DeleteResourceJob::dispatch( DeleteResourceJob::dispatch(
$this->resource, $this->resource,
@@ -120,9 +118,4 @@ class Danger extends Component
return handleError($e, $this); return handleError($e, $this);
} }
} }
// public function render()
// {
// return view('livewire.project.shared.danger');
// }
} }