remove unused code

This commit is contained in:
ayntk-ai 2024-08-29 21:47:17 +02:00
parent 6820fcc084
commit da0398f35d
No known key found for this signature in database

View file

@ -14,7 +14,6 @@
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 @@ public function delete($password)
} }
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 @@ public function delete($password)
return handleError($e, $this); return handleError($e, $this);
} }
} }
// public function render()
// {
// return view('livewire.project.shared.danger');
// }
} }