import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AdminMarketplacesFacade } from '../facade/admin-marketplaces.facade';
import { BadgeComponent } from '../../../../shared/ui/badge/badge.component';

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

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