From 6fd81642d17faf8d5c0458de3d9fa54c64c7af7a Mon Sep 17 00:00:00 2001 From: Leo Developer Date: Mon, 15 Jul 2024 09:23:22 +0200 Subject: [PATCH] fix formatting again, with a newer prettier version this time --- src/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 9a1f43d..45e42fd 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -130,7 +130,7 @@ export default function Turnstile({ inplaceState.onSuccess?.( token, preClearanceObtained, - boundTurnstileObject + boundTurnstileObject, ); }, "error-callback": (error?: any) => @@ -238,12 +238,12 @@ export interface TurnstileCallbacks { onSuccess?: ( token: string, preClearanceObtained: boolean, - boundTurnstile: BoundTurnstileObject + boundTurnstile: BoundTurnstileObject, ) => void; onLoad?: (widgetId: string, boundTurnstile: BoundTurnstileObject) => void; onError?: ( error?: Error | any, - boundTurnstile?: BoundTurnstileObject + boundTurnstile?: BoundTurnstileObject, ) => void; onExpire?: (token: string, boundTurnstile: BoundTurnstileObject) => void; onTimeout?: (boundTurnstile: BoundTurnstileObject) => void;