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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
272 B
TypeScript
Raw Normal View History

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