File tree 4 files changed +15
-17
lines changed
4 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 1
1
{
2
+ "typescript.tsdk" : " ./node_modules/typescript/lib" ,
2
3
"files.exclude" : {
3
4
"**/logs" : true ,
4
5
"**/*.log" : true ,
Original file line number Diff line number Diff line change @@ -22,15 +22,13 @@ export const Footer: React.FC<{
22
22
< div className = { styles . copyright } > Copyright 2021 Travis Fischer</ div >
23
23
24
24
< div className = { styles . settings } >
25
- { ! config . isServer && (
26
- < a
27
- className = { styles . toggleDarkMode }
28
- onClick = { toggleDarkMode }
29
- title = 'Tottle dark mode'
30
- >
31
- { isDarkMode ? < IoMoonSharp /> : < IoSunnyOutline /> }
32
- </ a >
33
- ) }
25
+ < a
26
+ className = { styles . toggleDarkMode }
27
+ onClick = { toggleDarkMode }
28
+ title = 'Tottle dark mode'
29
+ >
30
+ { isDarkMode ? < IoMoonSharp /> : < IoSunnyOutline /> }
31
+ </ a >
34
32
</ div >
35
33
36
34
< div className = { styles . social } >
Original file line number Diff line number Diff line change 1
1
import React from 'react'
2
2
3
- import { HTMLDivElement } from 'react-dom'
4
3
import styles from './styles.module.css'
5
4
6
5
export type MappingType =
@@ -59,7 +58,7 @@ export class ReactUtterances extends React.Component<
59
58
this . state = { pending : true }
60
59
}
61
60
62
- componentWillReceiveProps ( props ) {
61
+ UNSAFE_componentWillReceiveProps ( props ) {
63
62
// this.scriptElement.setAttribute('theme', props.theme)
64
63
const iframe = document . querySelector ( 'iframe.utterances-frame' ) as any
65
64
Original file line number Diff line number Diff line change @@ -3926,9 +3926,9 @@ memorystream@^0.3.1:
3926
3926
integrity sha1-htcJCzDORV1j+64S3aUaR93K+bI=
3927
3927
3928
3928
merge-class-names@^1.1.1 :
3929
- version "1.3 .0"
3930
- resolved "https://registry.yarnpkg.com/merge-class-names/-/merge-class-names-1.3 .0.tgz#c4cdc1a981a81dd9afc27aa4287e912a337c5dee "
3931
- integrity sha512-k0Qaj36VBpKgdc8c188LEZvo6v/zzry/FUufwopWbMSp6/knfVFU/KIB55/hJjeIpg18IH2WskXJCRnM/1BrdQ ==
3929
+ version "1.4 .0"
3930
+ resolved "https://registry.yarnpkg.com/merge-class-names/-/merge-class-names-1.4 .0.tgz#02edcdd5ff677fbb03b47ecd4586df89d697b81b "
3931
+ integrity sha512-xNdBM7s+6uD+vNZJEymqrFbMBCDGzoA8clZTcj2F1XIy1QQKF+wjFVv7iDZFfdCBnViTdt54A4Ye2lmBsXrBjQ ==
3932
3932
3933
3933
merge-stream@^2.0.0 :
3934
3934
version "2.0.0"
@@ -5182,9 +5182,9 @@ rc-dropdown@^3.1.2:
5182
5182
rc-trigger "^5.0.4"
5183
5183
5184
5184
rc-menu@^8.5.2 :
5185
- version "8.10.4 "
5186
- resolved "https://registry.yarnpkg.com/rc-menu/-/rc-menu-8.10.4 .tgz#234b6cb12690a39ca1e9c380aa846110ec06ffdb "
5187
- integrity sha512-eZOyl6RZFNwREP2MMyIOicrEOA9oeAFz13YG5LBmclz1nJQnpkWRN1NjSSQf2JQGybiuI3zQn+PMfFG99i0YxQ ==
5185
+ version "8.10.5 "
5186
+ resolved "https://registry.yarnpkg.com/rc-menu/-/rc-menu-8.10.5 .tgz#44b7381c650cc76020dfd65753b535f415012179 "
5187
+ integrity sha512-8Ets93wQFy9IysmgRUm1VGdrEz6XfZTM0jQOqOPLYNXah5HgAmCh4xT0UOygfHB3IWiQeqDgr2uPB4uVhwI2+Q ==
5188
5188
dependencies :
5189
5189
" @babel/runtime" " ^7.10.1"
5190
5190
classnames "2.x"
You can’t perform that action at this time.
0 commit comments