mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-11 00:59:17 -06:00
fix: zod pin validation failing (#1507)
This commit is contained in:
committed by
GitHub
parent
7d0ebd3c54
commit
59113ebe59
@@ -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