Retrospring/app/javascript/retrospring/features/user/index.ts

9 lines
272 B
TypeScript

import { userReportHandler } from './report';
import registerEvents from 'retrospring/utilities/registerEvents';
export default (): void => {
registerEvents([
{ type: 'click', target: 'a[data-action=report-user]', handler: userReportHandler, global: true }
]);
}