« get me outta code hell

content: transformContent: fix a null case, le sign - 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-07 15:33:15 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-12-07 15:33:15 -0400
commit9c3a732733e808bf1ea171177c090d753276f19b (patch)
tree95172f5c73e1789f66de253347096ca821f784b1 /src/content
parentcdb0f981de1684d56dd268fe7dc663fa2ed979e1 (diff)
content: transformContent: fix a null case, le sign
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/transformContent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js
index 53341c31..318866cb 100644
--- a/src/content/dependencies/transformContent.js
+++ b/src/content/dependencies/transformContent.js
@@ -396,7 +396,7 @@ export default {
                     width: width ?? null,
                     height: height ?? null,
                     thumb: slots.thumb,
-                    class: pixelate && 'pixelate',
+                    class: pixelate ? 'pixelate' : null,
                   })),
             };
           }