File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -314,22 +314,24 @@ function TownHall() {
314
314
< h3 > { pastTownHall . title + ' // ' + pastTownHall . date } </ h3 >
315
315
< p > { pastTownHall . description } </ p >
316
316
< ul className = "list-unstyled" >
317
- < li style = { inlineButtonListStyle } >
318
- < Link href = { pastTownHall . slides } >
319
- < a
320
- className = "button"
321
- target = "_blank"
322
- rel = "noopener noreferrer"
323
- >
324
- < FontAwesomeIcon
325
- icon = { faFileAlt }
326
- fixedWidth
327
- aria-hidden = { true }
328
- /> { ' ' }
329
- Form Summaries and Slides
330
- </ a >
331
- </ Link >
332
- </ li > { ' ' }
317
+ { pastTownHall . slides && (
318
+ < li style = { inlineButtonListStyle } >
319
+ < Link href = { pastTownHall . slides } >
320
+ < a
321
+ className = "button"
322
+ target = "_blank"
323
+ rel = "noopener noreferrer"
324
+ >
325
+ < FontAwesomeIcon
326
+ icon = { faFileAlt }
327
+ fixedWidth
328
+ aria-hidden = { true }
329
+ /> { ' ' }
330
+ Form Summaries and Slides
331
+ </ a >
332
+ </ Link >
333
+ </ li >
334
+ ) } { ' ' }
333
335
< li style = { inlineButtonListStyle } >
334
336
< Link href = { pastTownHall . notes } >
335
337
< a
You can’t perform that action at this time.
0 commit comments