diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-06-23 19:39:27 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-06-23 19:39:27 -0300 |
commit | d7bd80239dead1179450b2a0b97f97c59e150905 (patch) | |
tree | a518c3ddf126c1449086395adbfd0de46ca1e233 /src/content/dependencies | |
parent | 25a8a5f1c0145c88401da8930aace1feedee0cf1 (diff) |
use {...null} style destructuring where appropriate
Yay JavaScript! for {...null} working but not (...null). (tc39/ecma262#687)
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateGroupGalleryPage.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/content/dependencies/generateGroupGalleryPage.js b/src/content/dependencies/generateGroupGalleryPage.js index ab8a06ae..1ec53a0a 100644 --- a/src/content/dependencies/generateGroupGalleryPage.js +++ b/src/content/dependencies/generateGroupGalleryPage.js @@ -153,11 +153,10 @@ export default { }), ], - ...( + ... relations.sidebar ?.slot('currentExtra', 'gallery') - ?.content - ?? {}), + ?.content, navLinkStyle: 'hierarchical', navLinks: |