Skip to content

Commit 0325d8c

Browse files
authored
Merge pull request #19 from ndthanhdev/dev
fix build
2 parents c66e660 + 5d13d0f commit 0325d8c

7 files changed

Lines changed: 10 additions & 8 deletions

File tree

Binary file not shown.
Binary file not shown.

.yarn/install-state.gz

101 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"@mdx-js/react": "^1.6.22",
2525
"@theme-ui/css": "^0.14.4",
2626
"@theme-ui/presets": "^0.14.4",
27-
"@types/react-helmet": "^6.1.5",
2827
"gatsby": "^4.13.0",
2928
"gatsby-plugin-google-gtag": "^4.13.0",
3029
"gatsby-plugin-image": "^2.13.0",
@@ -50,6 +49,7 @@
5049
"@types/node": "^17.0.29",
5150
"@types/react": "^18.0.8",
5251
"@types/react-dom": "^18.0.2",
52+
"@types/react-helmet": "ts4.6",
5353
"gatsby-plugin-google-tagmanager": "^5.12.0",
5454
"typescript": "^4.6.3"
5555
},

src/components/seo.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import React from "react";
2-
import { Helmet } from "react-helmet";
2+
import { Helmet as _Helmet } from "react-helmet";
3+
4+
const Helmet = _Helmet as any;
35

46
export const SEO = () => (
57
<Helmet>

src/layouts/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import { ThemeProvider, merge } from "theme-ui";
3-
import { Helmet } from "react-helmet";
3+
import { SEO } from "../components/seo";
44

55
const CvLayout: React.FC<{
66
children: React.ReactNode;

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4243,12 +4243,12 @@ __metadata:
42434243
languageName: node
42444244
linkType: hard
42454245

4246-
"@types/react-helmet@npm:^6.1.5":
4247-
version: 6.1.5
4248-
resolution: "@types/react-helmet@npm:6.1.5"
4246+
"@types/react-helmet@npm:ts4.6":
4247+
version: 6.1.6
4248+
resolution: "@types/react-helmet@npm:6.1.6"
42494249
dependencies:
42504250
"@types/react": "*"
4251-
checksum: d059cc084d3b3071cce3421bb1170dd42819cf39b81afe60d4fbd66c5ef9ffeaadf1802df80efd9553258f621678f69ceb5a21d73df0d8539d40ae9a0f995485
4251+
checksum: 81560c56bfe854b6a43aee31360862588ac875d1177b975da5ce049ac9aa2f7c98dcde65d4397bfaa04e468f40cf3ab2975a2ef966a69d64a60493422898698d
42524252
languageName: node
42534253
linkType: hard
42544254

@@ -12626,7 +12626,7 @@ __metadata:
1262612626
"@types/node": ^17.0.29
1262712627
"@types/react": ^18.0.8
1262812628
"@types/react-dom": ^18.0.2
12629-
"@types/react-helmet": ^6.1.5
12629+
"@types/react-helmet": ts4.6
1263012630
gatsby: ^4.13.0
1263112631
gatsby-plugin-google-gtag: ^4.13.0
1263212632
gatsby-plugin-google-tagmanager: ^5.12.0

0 commit comments

Comments
 (0)