handleMonitorCreated.tsx 317 B

12345678910
  1. import type {Organization} from 'sentry/types/organization';
  2. import SubscriptionStore from 'getsentry/stores/subscriptionStore';
  3. /**
  4. * Ensure we refresh subscription when monitors are created
  5. */
  6. export function handleMonitorCreated(organization: Organization) {
  7. SubscriptionStore.loadData(organization.slug);
  8. }