mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Eslint got hands
This commit is contained in:
parent
62c97b0507
commit
ab09968afb
2 changed files with 3 additions and 2 deletions
|
@ -91,7 +91,8 @@ export function WorkerTestPart() {
|
|||
const error = err as Error;
|
||||
error.message = error.message.replace(worker.url, "WORKER_URL");
|
||||
if (
|
||||
error.message === '[Cloudflare Turnstile] Invalid or missing type for parameter "sitekey", expected "string", got "object".'
|
||||
error.message ===
|
||||
'[Cloudflare Turnstile] Invalid or missing type for parameter "sitekey", expected "string", got "object".'
|
||||
) {
|
||||
updateWorker(worker.id, {
|
||||
id: worker.id,
|
||||
|
|
|
@ -111,7 +111,7 @@ export function TurnstileProvider(props: {
|
|||
>
|
||||
<Turnstile
|
||||
sitekey={siteKey}
|
||||
theme={"light"}
|
||||
theme="light"
|
||||
onLoad={(widgetId, bound) => {
|
||||
idRef.current = widgetId;
|
||||
setTurnstile(widgetId, bound, !!props.isInPopout);
|
||||
|
|
Loading…
Reference in a new issue