Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
vhande committed Jun 27, 2024
1 parent c17bec6 commit 2a88221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/ts/Components/ActivationDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const ActivationDialog = ({
async (e: React.ChangeEvent<HTMLInputElement>) => {
const response = await fetch(`/organizers?name=${e.target.value}`);
const data = await response.json();
if (data.hasOwnProperty("exception")) {
if ("exception" in data) {
setOrganizerError(true);
return;
}
Expand Down

0 comments on commit 2a88221

Please sign in to comment.