import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AdminAuditFacade } from '../facade/admin-audit.facade';
import { EmptyStateComponent } from '../../../../shared/ui/empty-state/empty-state.component';

@Component({
  selector: 'app-admin-audit-page',
  standalone: true,
  imports: [CommonModule, EmptyStateComponent],
  templateUrl: './admin-audit-page.component.html',
  styleUrls: ['./admin-audit-page.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class AdminAuditPageComponent {
  readonly facade = inject(AdminAuditFacade);

  constructor() {
    this.facade.load();
  }
}
