Skip to content

Commit

Permalink
Change sitekey to siteKey to match camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-bun authored Jan 19, 2024
1 parent a7c0fed commit 6c360d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function Turnstile({
id,
className,
style,
sitekey,
siteKey,
action,
cData,
theme,
Expand Down Expand Up @@ -109,7 +109,7 @@ export default function Turnstile({
if (cancelled || !ref.current) return;
let boundTurnstileObject: BoundTurnstileObject;
const turnstileOptions: TurnstileOptions = {
sitekey,
siteKey,
action,
cData,
theme,
Expand Down Expand Up @@ -148,7 +148,7 @@ export default function Turnstile({
if (widgetId) window.turnstile.remove(widgetId);
};
}, [
sitekey,
siteKey,
action,
cData,
theme,
Expand Down Expand Up @@ -202,7 +202,7 @@ export default function Turnstile({
}

export interface TurnstileProps extends TurnstileCallbacks {
sitekey: string;
siteKey: string;
action?: string;
cData?: string;
theme?: "light" | "dark" | "auto";
Expand Down

0 comments on commit 6c360d6

Please sign in to comment.