Skip to content

Commit b129656

Browse files
authored
Update docusaurus.config.js
1 parent 2d54d07 commit b129656

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

website/docusaurus.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ module.exports = {
3636
projectName: 'apify-sdk-python',
3737
scripts: ['/js/custom.js'],
3838
favicon: 'img/favicon.ico',
39-
scripts: [
40-
...config.scripts ?? [],
41-
],
39+
scripts: [...(config.scripts ?? [])],
4240
githubHost: 'github.com',
4341
future: {
4442
experimental_faster: {
@@ -274,6 +272,6 @@ module.exports = {
274272
},
275273
staticDirectories: ['node_modules/@apify/docs-theme/static', 'static'],
276274
customFields: {
277-
...config.customFields ?? [],
275+
...(config.customFields ?? []),
278276
},
279277
};

0 commit comments

Comments
 (0)