Skip to content

Commit fb5f295

Browse files
authored
Merge pull request #17 from CodeDead/hotfix/dependencies
* Dependency upgrades
2 parents e789535 + 08e6b81 commit fb5f295

File tree

3 files changed

+525
-507
lines changed

3 files changed

+525
-507
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@
1616
"dependencies": {
1717
"@emotion/react": "^11.8.2",
1818
"@emotion/styled": "^11.8.1",
19-
"@mui/icons-material": "^5.5.0",
20-
"@mui/material": "^5.5.0",
19+
"@mui/icons-material": "^5.5.1",
20+
"@mui/material": "^5.5.1",
2121
"axios": "^0.26.1",
22-
"gatsby": "^4.9.3",
23-
"gatsby-plugin-catch-links": "^4.9.0",
24-
"gatsby-plugin-google-gtag": "^4.9.0",
25-
"gatsby-plugin-image": "^2.9.1",
26-
"gatsby-plugin-react-helmet": "^5.9.0",
22+
"gatsby": "^4.10.1",
23+
"gatsby-plugin-catch-links": "^4.10.0",
24+
"gatsby-plugin-google-gtag": "^4.10.0",
25+
"gatsby-plugin-image": "^2.10.0",
26+
"gatsby-plugin-react-helmet": "^5.10.0",
2727
"gatsby-plugin-robots-txt": "^1.7.0",
28-
"gatsby-plugin-sharp": "^4.9.1",
29-
"gatsby-plugin-sitemap": "^5.9.0",
30-
"gatsby-remark-images": "^6.9.1",
31-
"gatsby-source-filesystem": "^4.9.1",
28+
"gatsby-plugin-sharp": "^4.10.1",
29+
"gatsby-plugin-sitemap": "^5.10.1",
30+
"gatsby-remark-images": "^6.10.1",
31+
"gatsby-source-filesystem": "^4.10.0",
3232
"gatsby-theme-material-ui": "^5.1.0",
33-
"gatsby-transformer-remark": "^5.9.1",
34-
"gatsby-transformer-sharp": "^4.9.0",
33+
"gatsby-transformer-remark": "^5.10.1",
34+
"gatsby-transformer-sharp": "^4.10.0",
3535
"react": "^17.0.2",
3636
"react-dom": "^17.0.2",
3737
"react-helmet": "^6.1.0"
@@ -41,7 +41,7 @@
4141
"eslint-config-airbnb": "^19.0.4",
4242
"eslint-plugin-import": "^2.25.4",
4343
"eslint-plugin-jsx-a11y": "^6.5.1",
44-
"eslint-plugin-react": "^7.29.3",
44+
"eslint-plugin-react": "^7.29.4",
4545
"eslint-plugin-react-hooks": "^4.3.0"
4646
},
4747
"repository": {

src/utils/ThemeSelector/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ import grey from '@mui/material/colors/grey';
99

1010
const ThemeSelector = (index, defaultColor) => {
1111
switch (index) {
12-
default:
13-
return {
14-
main: defaultColor,
15-
};
1612
case 1:
1713
return purple;
1814
case 2:
@@ -29,6 +25,10 @@ const ThemeSelector = (index, defaultColor) => {
2925
return lightBlue;
3026
case 8:
3127
return grey;
28+
default:
29+
return {
30+
main: defaultColor,
31+
};
3232
}
3333
};
3434

0 commit comments

Comments
 (0)