import { eventBus } from '@/core/events/EventBus';

let verificationModalShown = false;

export function showVerificationModal(): void {
  if (verificationModalShown) return;
  verificationModalShown = true;
  eventBus.emit({ type: 'SHOW_VERIFICATION_MODAL' });
  setTimeout(() => {
    verificationModalShown = false;
  }, 3000);
}
