Skip to content

Commit

Permalink
show feilmelding
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikskog committed Sep 5, 2024
1 parent 8a7d985 commit f60186c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/components/Attendance/CaptchaModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const CaptchaModal: FC<ICaptchaModalProps> = (props: ICaptchaModalProps) => {
const onError = (error: Error) => {
console.log('Error from captcha failure:', error);
setShowErrorText(true);
setTurnstileError(error.message);
setTurnstileError(error.message || 'Ingen feilmelding');
};

if (!showModal) return null;
Expand Down

0 comments on commit f60186c

Please sign in to comment.