<?php

namespace App\Filament\Resources\Panel\EquipWorkResource\Pages;

use Filament\Actions;
use Filament\Resources\Pages\EditRecord;
use App\Filament\Resources\Panel\EquipWorkResource;

class EditEquipWork extends EditRecord
{
    protected static string $resource = EquipWorkResource::class;

    protected function getHeaderActions(): array
    {
        return [Actions\DeleteAction::make()];
    }

    protected function getRedirectUrl(): string
    {
        return $this->getResource()::getUrl('index');
    }
}
