« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page/artist-alias.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/page/artist-alias.js')
-rw-r--r--src/page/artist-alias.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/page/artist-alias.js b/src/page/artist-alias.js
index 8a45503d..46ad1a34 100644
--- a/src/page/artist-alias.js
+++ b/src/page/artist-alias.js
@@ -1,21 +1,21 @@
-// @format
-//
+/** @format */
+
 // Artist alias redirect pages.
 // (Makes old permalinks bring visitors to the up-to-date page.)
 
-export function targets({ wikiData }) {
+export function targets({wikiData}) {
   return wikiData.artistAliasData;
 }
 
-export function write(aliasArtist, { wikiData }) {
+export function write(aliasArtist, {wikiData}) {
   // This function doesn't actually use wikiData, 8ut, um, consistency?
 
-  const { aliasedArtist } = aliasArtist;
+  const {aliasedArtist} = aliasArtist;
 
   const redirect = {
-    type: "redirect",
-    fromPath: ["artist", aliasArtist.directory],
-    toPath: ["artist", aliasedArtist.directory],
+    type: 'redirect',
+    fromPath: ['artist', aliasArtist.directory],
+    toPath: ['artist', aliasedArtist.directory],
     title: () => aliasedArtist.name,
   };