« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateArtistInfoPage.js6
-rw-r--r--src/content/dependencies/generateGroupInfoPage.js6
2 files changed, 4 insertions, 8 deletions
diff --git a/src/content/dependencies/generateArtistInfoPage.js b/src/content/dependencies/generateArtistInfoPage.js
index cbd80683..81fede4c 100644
--- a/src/content/dependencies/generateArtistInfoPage.js
+++ b/src/content/dependencies/generateArtistInfoPage.js
@@ -81,13 +81,11 @@ export default {
 
     closeGroupLinks:
       query.generalLinkedGroups
-        .map(({thing: group}) =>
-          relation('linkGroup', group)),
+        .map(({group}) => relation('linkGroup', group)),
 
     aliasGroupLinks:
       query.aliasLinkedGroups
-        .map(({thing: group}) =>
-          relation('linkGroup', group)),
+        .map(({group}) => relation('linkGroup', group)),
 
     visitLinks:
       artist.urls
diff --git a/src/content/dependencies/generateGroupInfoPage.js b/src/content/dependencies/generateGroupInfoPage.js
index 90cbb970..7b9c2afa 100644
--- a/src/content/dependencies/generateGroupInfoPage.js
+++ b/src/content/dependencies/generateGroupInfoPage.js
@@ -57,13 +57,11 @@ export default {
 
     closeArtistLinks:
       query.generalLinkedArtists
-        .map(({thing: artist}) =>
-          relation('linkArtist', artist)),
+        .map(({artist}) => relation('linkArtist', artist)),
 
     aliasArtistLinks:
       query.aliasLinkedArtists
-        .map(({thing: artist}) =>
-          relation('linkArtist', artist)),
+        .map(({artist}) => relation('linkArtist', artist)),
 
     visitLinks:
       group.urls