Skip to content

Commit fb25c37

Browse files
authored
Merge pull request #1 from TomHAnderson/hotfix/year-spacing
Fixed year spacing
2 parents a9de084 + f63c24e commit fb25c37

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/pages/artist-group-sources/[id].tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ const Years = (props: any) => {
125125

126126
props.graphql.data.years.map((year: any, key: any) => {
127127
years.push((
128+
<>
128129
<Link
129130
key={key}
130131
href={{
@@ -134,6 +135,8 @@ const Years = (props: any) => {
134135
>
135136
<a className="year-link">{(year === 1939) ? 'unknown' : year}</a>
136137
</Link>
138+
{' '}
139+
</>
137140
));
138141
});
139142

src/pages/artist-group/[id].tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,16 @@ const Years = (props: any) => {
124124

125125
props.graphql.data.years.map((year: any, key: any) => {
126126
years.push((
127+
<>
127128
<a
128129
key={key}
129130
href={"/artist-group/" + props.graphql.data.artistGroup.id + "?year=" + year}
130131
className="year-link"
131132
>
132133
{(year === 1939) ? 'unknown' : year}
133134
</a>
135+
{' '}
136+
</>
134137
));
135138
});
136139

src/pages/artist/[id].tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ const Years = (props: any) => {
143143

144144
props.graphql.data.years.map((year: any, key: any) => {
145145
years.push((
146+
<>
146147
<Link
147148
key={key}
148149
href={{
@@ -156,6 +157,8 @@ const Years = (props: any) => {
156157
{(year === 1939) ? 'unknown' : year}
157158
</a>
158159
</Link>
160+
{' '}
161+
</>
159162
));
160163
});
161164

0 commit comments

Comments
 (0)