@@ -14,7 +14,7 @@ export type ConfluencePerPageUIValues = {
1414} ;
1515
1616export function mapFrontmatterToConfluencePerPageUIValues (
17- frontmatter : FrontMatterCache | undefined
17+ frontmatter : FrontMatterCache | undefined ,
1818) : ConfluencePerPageUIValues {
1919 const config = ConfluencePageConfig . conniePerPageConfig ;
2020 const result : Partial < ConfluencePerPageUIValues > = { } ;
@@ -78,7 +78,7 @@ const handleChange = (
7878 inputValidator : ConfluencePageConfig . InputValidator < unknown > ,
7979 setValues : React . Dispatch < React . SetStateAction < ConfluencePerPageUIValues > > ,
8080 setErrors : React . Dispatch < React . SetStateAction < Record < string , Error [ ] > > > ,
81- isSetValue : boolean
81+ isSetValue : boolean ,
8282) => {
8383 const validationResult = inputValidator ( value ) ;
8484
@@ -108,7 +108,7 @@ const renderTextInput = (
108108 values : ConfluencePerPageUIValues ,
109109 errors : Record < string , Error [ ] > ,
110110 setValues : React . Dispatch < React . SetStateAction < ConfluencePerPageUIValues > > ,
111- setErrors : React . Dispatch < React . SetStateAction < Record < string , Error [ ] > > >
111+ setErrors : React . Dispatch < React . SetStateAction < Record < string , Error [ ] > > > ,
112112) => (
113113 < >
114114 < tr key = { key } >
@@ -130,7 +130,7 @@ const renderTextInput = (
130130 config . inputValidator ,
131131 setValues ,
132132 setErrors ,
133- false
133+ false ,
134134 )
135135 }
136136 />
@@ -150,7 +150,7 @@ const renderTextInput = (
150150 config . inputValidator ,
151151 setValues ,
152152 setErrors ,
153- true
153+ true ,
154154 )
155155 }
156156 />
@@ -176,7 +176,7 @@ const renderArrayText = (
176176 values : ConfluencePerPageUIValues ,
177177 errors : Record < string , Error [ ] > ,
178178 setValues : React . Dispatch < React . SetStateAction < ConfluencePerPageUIValues > > ,
179- setErrors : React . Dispatch < React . SetStateAction < Record < string , Error [ ] > > >
179+ setErrors : React . Dispatch < React . SetStateAction < Record < string , Error [ ] > > > ,
180180) => (
181181 < >
182182 < tr key = { key } >
@@ -205,7 +205,7 @@ const renderArrayText = (
205205 config . inputValidator ,
206206 setValues ,
207207 setErrors ,
208- false
208+ false ,
209209 ) ;
210210 } }
211211 />
@@ -224,7 +224,7 @@ const renderArrayText = (
224224 config . inputValidator ,
225225 setValues ,
226226 setErrors ,
227- false
227+ false ,
228228 ) ;
229229 } }
230230 >
@@ -246,7 +246,7 @@ const renderArrayText = (
246246 config . inputValidator ,
247247 setValues ,
248248 setErrors ,
249- true
249+ true ,
250250 )
251251 }
252252 />
@@ -272,7 +272,7 @@ const renderBoolean = (
272272 values : ConfluencePerPageUIValues ,
273273 errors : Record < string , Error [ ] > ,
274274 setValues : React . Dispatch < React . SetStateAction < ConfluencePerPageUIValues > > ,
275- setErrors : React . Dispatch < React . SetStateAction < Record < string , Error [ ] > > >
275+ setErrors : React . Dispatch < React . SetStateAction < Record < string , Error [ ] > > > ,
276276) => (
277277 < >
278278 < tr key = { key } >
@@ -294,7 +294,7 @@ const renderBoolean = (
294294 config . inputValidator ,
295295 setValues ,
296296 setErrors ,
297- false
297+ false ,
298298 )
299299 }
300300 />
@@ -314,7 +314,7 @@ const renderBoolean = (
314314 config . inputValidator ,
315315 setValues ,
316316 setErrors ,
317- true
317+ true ,
318318 )
319319 }
320320 />
@@ -342,7 +342,7 @@ const renderOptions = (
342342 values : ConfluencePerPageUIValues ,
343343 errors : Record < string , Error [ ] > ,
344344 setValues : React . Dispatch < React . SetStateAction < ConfluencePerPageUIValues > > ,
345- setErrors : React . Dispatch < React . SetStateAction < Record < string , Error [ ] > > >
345+ setErrors : React . Dispatch < React . SetStateAction < Record < string , Error [ ] > > > ,
346346) => (
347347 < >
348348 < tr key = { key } >
@@ -364,7 +364,7 @@ const renderOptions = (
364364 config . inputValidator ,
365365 setValues ,
366366 setErrors ,
367- false
367+ false ,
368368 )
369369 }
370370 >
@@ -390,7 +390,7 @@ const renderOptions = (
390390 config . inputValidator ,
391391 setValues ,
392392 setErrors ,
393- true
393+ true ,
394394 )
395395 }
396396 />
@@ -448,7 +448,7 @@ const ConfluenceForm: React.FC<FormProps> = ({
448448 values ,
449449 errors ,
450450 setValues ,
451- setErrors
451+ setErrors ,
452452 ) ;
453453 case "array-text" :
454454 return renderArrayText (
@@ -460,7 +460,7 @@ const ConfluenceForm: React.FC<FormProps> = ({
460460 values ,
461461 errors ,
462462 setValues ,
463- setErrors
463+ setErrors ,
464464 ) ;
465465 case "boolean" :
466466 return renderBoolean (
@@ -472,7 +472,7 @@ const ConfluenceForm: React.FC<FormProps> = ({
472472 values ,
473473 errors ,
474474 setValues ,
475- setErrors
475+ setErrors ,
476476 ) ;
477477 case "options" :
478478 return renderOptions (
@@ -484,7 +484,7 @@ const ConfluenceForm: React.FC<FormProps> = ({
484484 values ,
485485 errors ,
486486 setValues ,
487- setErrors
487+ setErrors ,
488488 ) ;
489489 default :
490490 return null ;
0 commit comments