2022-01-08 17:16:22 -08:00
|
|
|
import { reportDialog } from 'utilities/reportDialog';
|
|
|
|
|
2021-12-24 18:34:02 -08:00
|
|
|
export function userReportHandler(event: Event): void {
|
|
|
|
event.preventDefault();
|
|
|
|
const button: HTMLButtonElement = event.target as HTMLButtonElement;
|
|
|
|
|
2022-01-08 17:16:22 -08:00
|
|
|
reportDialog('user', button.dataset.target);
|
2021-12-24 18:34:02 -08:00
|
|
|
}
|