Skip to content

Commit 923982c

Browse files
committed
* Dependency upgrades
* Revert back to gatsby theme material ui plugin
1 parent 988e53c commit 923982c

File tree

4 files changed

+453
-70
lines changed

4 files changed

+453
-70
lines changed

gatsby-browser.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
import React from 'react';
22
import MainContextProvider from './src/contexts/MainContextProvider';
3-
import { Helmet } from 'react-helmet';
43

54
export const wrapRootElement = ({ element }) => (
65
<MainContextProvider>
7-
<>
8-
<Helmet>
9-
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />
10-
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
11-
</Helmet>
12-
{element}
13-
</>
6+
{element}
147
</MainContextProvider>
158
);

gatsby-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
facebook: 'https://facebook.com/deadlinecodedead',
1919
},
2020
plugins: [
21-
'gatsby-plugin-material-ui',
21+
`gatsby-theme-material-ui`,
2222
{
2323
resolve: 'gatsby-source-filesystem',
2424
options: {

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,28 @@
1616
"dependencies": {
1717
"@emotion/react": "^11.4.1",
1818
"@emotion/styled": "^11.3.0",
19-
"@mui/icons-material": "^5.0.1",
20-
"@mui/material": "^5.0.2",
19+
"@mui/icons-material": "^5.0.3",
20+
"@mui/material": "^5.0.3",
2121
"axios": "^0.22.0",
22-
"gatsby": "^3.14.1",
22+
"gatsby": "^3.14.2",
2323
"gatsby-plugin-catch-links": "^3.14.0",
2424
"gatsby-plugin-google-gtag": "^3.14.0",
25-
"gatsby-plugin-image": "^1.14.0",
26-
"gatsby-plugin-material-ui": "^4.0.3",
25+
"gatsby-plugin-image": "^1.14.1",
2726
"gatsby-plugin-react-helmet": "^4.14.0",
2827
"gatsby-plugin-robots-txt": "^1.6.10",
29-
"gatsby-plugin-sharp": "^3.14.0",
28+
"gatsby-plugin-sharp": "^3.14.1",
3029
"gatsby-plugin-sitemap": "^4.10.0",
3130
"gatsby-remark-images": "^5.11.0",
3231
"gatsby-source-filesystem": "^3.14.0",
32+
"gatsby-theme-material-ui": "^5.0.0",
3333
"gatsby-transformer-remark": "^4.11.0",
3434
"gatsby-transformer-sharp": "^3.14.0",
3535
"react": "^17.0.2",
3636
"react-dom": "^17.0.2",
3737
"react-helmet": "^6.1.0"
3838
},
3939
"devDependencies": {
40-
"eslint": "^7.32.0",
40+
"eslint": "^8.0.0",
4141
"eslint-config-airbnb": "^18.2.1",
4242
"eslint-plugin-import": "^2.24.2",
4343
"eslint-plugin-jsx-a11y": "^6.4.1",

0 commit comments

Comments
 (0)