« get me outta code hell

content: linkContribution: fix bad slot call - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-12-31 23:22:46 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-12-31 23:26:14 -0400
commit3e9d8dd7f526f7f885c9372c35b8402397f52f3f (patch)
tree184b173434fd61c3818853fd32fc079fe572edbb /src/content
parentb8c425502a7e7edf90ea1d0a1b2665cbffa6dacf (diff)
content: linkContribution: fix bad slot call
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/linkContribution.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/content/dependencies/linkContribution.js b/src/content/dependencies/linkContribution.js
index 578ae039..f0f36bcb 100644
--- a/src/content/dependencies/linkContribution.js
+++ b/src/content/dependencies/linkContribution.js
@@ -53,14 +53,10 @@ export default {
       options.links =
         html.tag('span', {class: ['icons', 'icons-inline']},
           {[html.noEdgeWhitespace]: true},
-
           language.formatUnitList(
             relations.artistIcons
               .slice(0, 4)
-              .map(icon =>
-                icon.slot({
-                  context: 'artist',
-                }))));
+              .map(icon => icon.slot('context', 'artist'))));
     }
 
     let content = language.formatString(...parts, options);