Retrospring/app/javascript/retrospring/features/inbox/entry/report.ts

6 lines
210 B
TypeScript

import { reportDialog } from 'utilities/reportDialog';
export function reportEventHandler(event: Event): void {
const element = event.target as HTMLElement;
reportDialog('question', element.dataset.qId);
}