File tree 5 files changed +8
-41
lines changed
5 files changed +8
-41
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ const path = require(`path`);
3
3
4
4
exports . createPages = async ( { actions, graphql, reporter } ) => {
5
5
const { createPage, createRedirect } = actions ;
6
- const blogArticleTemplate = path . resolve (
7
- `src/templates/blog-article-template.tsx`
8
- ) ;
9
6
const result = await graphql ( `
10
7
{
11
8
blog: allMdx(
Original file line number Diff line number Diff line change 1
1
declare module "@mdx-js/react" {
2
- import * as React from "react" ;
3
- type ComponentType =
4
- | "a"
5
- | "blockquote"
6
- | "code"
7
- | "del"
8
- | "em"
9
- | "h1"
10
- | "h2"
11
- | "h3"
12
- | "h4"
13
- | "h5"
14
- | "h6"
15
- | "hr"
16
- | "img"
17
- | "inlineCode"
18
- | "li"
19
- | "ol"
20
- | "p"
21
- | "pre"
22
- | "strong"
23
- | "sup"
24
- | "table"
25
- | "td"
26
- | "thematicBreak"
27
- | "tr"
28
- | "ul" ;
2
+ import { Component , ComponentType , ReactNode } from "react" ;
3
+
29
4
export interface MDXProviderProps {
30
- children : React . ReactNode ;
31
- components : Record < any , React . ComponentType < any > > ;
5
+ children : ReactNode ;
6
+ components : Record < any , ComponentType < any > > ;
32
7
}
33
- export class MDXProvider extends React . Component < MDXProviderProps > { }
8
+
9
+ export class MDXProvider extends Component < MDXProviderProps > { }
34
10
}
Original file line number Diff line number Diff line change 61
61
"react-redux" : " ^7.2.1" ,
62
62
"react-responsive-carousel" : " ^3.2.11" ,
63
63
"react-share" : " ^4.2.1" ,
64
- "redux-devtools-extension" : " ^2.13.9" ,
65
64
"styled-components" : " ^5.2.3"
66
65
},
67
66
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export default function createStore(preloadedState: State) {
13
13
return createReduxStore (
14
14
rootReducer ,
15
15
preloadedState ,
16
- ( window as any ) . __REDUX_DEVTOOLS_EXTENSION__ &&
17
- ( window as any ) . __REDUX_DEVTOOLS_EXTENSION__ ( )
16
+ typeof window === "object" &&
17
+ ( window as any ) . __REDUX_DEVTOOLS_EXTENSION__ ?. ( )
18
18
) ;
19
19
}
Original file line number Diff line number Diff line change @@ -16038,11 +16038,6 @@ redent@^1.0.0:
16038
16038
indent-string "^2.1.0"
16039
16039
strip-indent "^1.0.1"
16040
16040
16041
- redux-devtools-extension@^2.13.9:
16042
- version "2.13.9"
16043
- resolved "https://registry.yarnpkg.com/redux-devtools-extension/-/redux-devtools-extension-2.13.9.tgz#6b764e8028b507adcb75a1cae790f71e6be08ae7"
16044
- integrity sha512-cNJ8Q/EtjhQaZ71c8I9+BPySIBVEKssbPpskBfsXqb8HJ002A3KRVHfeRzwRo6mGPqsm7XuHTqNSNeS1Khig0A==
16045
-
16046
16041
redux-thunk@^2.3.0:
16047
16042
version "2.3.0"
16048
16043
resolved "https://registry.yarnpkg.com/redux-thunk/-/redux-thunk-2.3.0.tgz#51c2c19a185ed5187aaa9a2d08b666d0d6467622"
You can’t perform that action at this time.
0 commit comments