FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge branch 'main' of https://github.com/mcjava-wiki/mcjava-wiki int… · mcjava-wiki/mcjava-wiki@7523c9d · GitHub

Repository navigation

Commit 7523c9d

Browse files
committed
Merge branch 'main' of https://github.com/mcjava-wiki/mcjava-wiki into main
2 parents 7b8ac72 + 7cfc3a3 commit 7523c9d

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

‎gatsby-node.js‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -287,24 +287,10 @@ const pluginOptionsSchema = (/** @type {{ Joi: import('joi') }} */ { Joi }) => {
287287
})
288288
}
289289

290-
const onCreateWebpackConfig = ({ stage, rules, loaders, plugins, actions }) => {
291-
actions.setWebpackConfig({
292-
module: {
293-
rules: [
294-
{
295-
test: /\.mdx$/,
296-
use: '@mdx-js/loader',
297-
},
298-
],
299-
},
300-
})
301-
}
302-
303290
module.exports = {
304291
createSchemaCustomization,
305292
onPreBootstrap,
306293
onCreateNode,
307294
createPages,
308295
pluginOptionsSchema,
309-
onCreateWebpackConfig,
310296
}

‎src/components/ColorModeSwitcher.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const ColorModeSwitcher = React.forwardRef((props, ref) => {
1818
<x.button
1919
ref={ref}
2020
type="button"
21-
onClick={() => setMode(getInverseMode)}
21+
onClick={() => setMode(getInverseMode(mode))}
2222
{...props}
2323
>
2424
<Icon style={{ width: 24, height: 24 }} />

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL