Dependencies Updates, Sidebar fixes, default plan, Radix single package (#297)
* Refactor Radix UI imports and update package dependencies, fix Sidebar "group" references, add default value to plan picker to preselect a plan
This commit is contained in:
committed by
GitHub
parent
1d734e6818
commit
50337298fd
@@ -29,15 +29,15 @@
|
||||
"@kit/ui": "workspace:*",
|
||||
"@marsidev/react-turnstile": "^1.1.0",
|
||||
"@radix-ui/react-icons": "^1.3.2",
|
||||
"@supabase/supabase-js": "2.50.2",
|
||||
"@tanstack/react-query": "5.81.2",
|
||||
"@supabase/supabase-js": "2.50.5",
|
||||
"@tanstack/react-query": "5.82.0",
|
||||
"@types/react": "19.1.8",
|
||||
"lucide-react": "^0.523.0",
|
||||
"next": "15.3.4",
|
||||
"react-hook-form": "^7.58.1",
|
||||
"react-i18next": "^15.5.3",
|
||||
"sonner": "^2.0.5",
|
||||
"zod": "^3.25.67"
|
||||
"lucide-react": "^0.525.0",
|
||||
"next": "15.3.5",
|
||||
"react-hook-form": "^7.60.0",
|
||||
"react-i18next": "^15.6.0",
|
||||
"sonner": "^2.0.6",
|
||||
"zod": "^3.25.74"
|
||||
},
|
||||
"prettier": "@kit/prettier-config",
|
||||
"typesVersions": {
|
||||
|
||||
@@ -9,6 +9,7 @@ import { Captcha } from './captcha-provider';
|
||||
export function CaptchaTokenSetter(props: {
|
||||
siteKey: string | undefined;
|
||||
options?: TurnstileProps;
|
||||
nonce?: string;
|
||||
}) {
|
||||
const { setToken, setInstance } = useContext(Captcha);
|
||||
|
||||
@@ -31,6 +32,9 @@ export function CaptchaTokenSetter(props: {
|
||||
}}
|
||||
siteKey={props.siteKey}
|
||||
onSuccess={setToken}
|
||||
scriptOptions={{
|
||||
nonce: props.nonce,
|
||||
}}
|
||||
{...options}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user