Skip to content

Commit e33009e

Browse files
authored
chore: update TODO to match others
1 parent 2374ebe commit e33009e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/src/features/upload/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,9 @@ export function createUploadTemplateCSV(instrument: AnyUnilingualFormInstrument)
364364
const instrumentSchema = instrument.validationSchema as z.AnyZodObject;
365365

366366
let shape: { [key: string]: z.ZodTypeAny } = {};
367-
//Todo include ZodEffect as a typename like our other types
367+
// TODO - include ZodEffect as a typename like our other types
368368
if ((instrumentSchema._def.typeName as string) === 'ZodEffects') {
369-
//find a type safe way to call this
369+
// TODO - find a type safe way to call this
370370
shape = instrumentSchema._def.schema._def.shape() as { [key: string]: z.ZodTypeAny };
371371
} else {
372372
shape = instrumentSchema.shape as { [key: string]: z.ZodTypeAny };

0 commit comments

Comments
 (0)