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

8 lines
284 B
TypeScript
Raw Normal View History

2021-12-24 18:33:09 -08:00
import { userActionHandler } from './action';
import { userReportHandler } from './report';
import { on } from 'utilities/on';
export default (): void => {
on('click', 'button[name=user-action]', userActionHandler);
on('click', 'a[data-action=report-user]', userReportHandler);
}