mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-10 10:36:38 -06:00
lint fix
This commit is contained in:
@@ -19,7 +19,8 @@ export const ZStorageUrl = z.string().refine(
|
||||
}
|
||||
// Otherwise validate as URL
|
||||
try {
|
||||
new URL(val);
|
||||
// Using void to satisfy ESLint "no-new" rule while still validating the URL
|
||||
void new URL(val);
|
||||
return true;
|
||||
} catch {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user