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

6 lines
210 B
TypeScript
Raw Normal View History

import { reportDialog } from 'utilities/reportDialog';
2021-08-11 05:10:24 -07:00
export function reportEventHandler(event: Event): void {
const element = event.target as HTMLElement;
reportDialog('question', element.dataset.qId);
2021-08-11 05:10:24 -07:00
}