fix: reject untrusted click events on the guild hall button (#105)

This commit is contained in:
2026-03-23 14:50:04 -07:00
committed by Naomi Carrigan
parent 830a9d2a56
commit 558b44e29a
+1 -1
View File
@@ -42,7 +42,7 @@ const ClickArea = (): JSX.Element => {
const handleClickWithFloat = useCallback(
(event: MouseEvent<HTMLButtonElement>) => {
if (state === null) {
if (!event.isTrusted || state === null) {
return;
}
const rect = event.currentTarget.getBoundingClientRect();