mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-21 03:03:25 -05:00
fix: zod pin validation failing (#1507)
This commit is contained in:
committed by
GitHub
parent
7d0ebd3c54
commit
59113ebe59
+1
-1
@@ -76,7 +76,7 @@ export default function ResponseOptionsCard({
|
||||
};
|
||||
|
||||
const handleProtectSurveyWithPinToggle = () => {
|
||||
setLocalSurvey((prevSurvey) => ({ ...prevSurvey, pin: isPinProtectionEnabled ? null : 1234 }));
|
||||
setLocalSurvey((prevSurvey) => ({ ...prevSurvey, pin: isPinProtectionEnabled ? null : "1234" }));
|
||||
};
|
||||
|
||||
const handleProtectSurveyPinChange = (pin: string) => {
|
||||
|
||||
Reference in New Issue
Block a user