$
- npx @nicepkg/vsync sync
+
+ npx @nicepkg/vsync sync
+
diff --git a/website/src/components/ui/input-otp.tsx b/website/src/components/ui/input-otp.tsx
index 6090ef6..4922cb8 100644
--- a/website/src/components/ui/input-otp.tsx
+++ b/website/src/components/ui/input-otp.tsx
@@ -43,7 +43,9 @@ function InputOTPSlot({
index: number;
}) {
const inputOTPContext = React.useContext(OTPInputContext);
- const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};
+
+ const { char, hasFakeCaret, isActive } =
+ inputOTPContext?.slots?.[index] ?? {};
return (