Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #369 from g0v/換成disqus-comments
Browse files Browse the repository at this point in the history
#347 換成disqus comments
  • Loading branch information
Wenli Tsai authored Feb 17, 2017
2 parents dd448c8 + f39ff5e commit 0c95140
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"raw-loader": "^0.5.1",
"react": "^15.4.2",
"react-cookie": "^1.0.4",
"react-disqus-thread": "^0.4.0",
"react-disqus-comments": "^0.5.2",
"react-dom": "^15.4.2",
"react-hot-loader": "^1.3.1",
"react-modal": "^1.6.5",
Expand Down
4 changes: 2 additions & 2 deletions src/Disqus/Disqus.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import Transmit from 'react-transmit';
import ReactDisqusThread from 'react-disqus-thread';
import ReactDisqusComments from 'react-disqus-comments';
import Debug from 'debug';

var debug = Debug('itaigi:Disqus');
Expand All @@ -13,7 +13,7 @@ class Disqus extends React.Component {
debug('pathname: ' + pathname);
debug('decode pathname: ' + decode_path);
return (
<ReactDisqusThread
<ReactDisqusComments
shortname='itaigi'
identifier={decode_path}
title={decode_path}
Expand Down
1 change: 1 addition & 0 deletions src/GuanKiann/例句/例句表.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export default class 例句表 extends React.Component {
));
return (
<Modal
contentLabel="例句表"
isOpen={看例句}
onRequestClose={this.props.關例句.bind(this)}
style={customStyles}
Expand Down
1 change: 0 additions & 1 deletion src/Iah/Kong/Kong.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class Kong extends React.Component {
}

render() {
debug('rendering %o', this.props.kongData);
return (
<div className='main container'>
<nav className='navigation'>
Expand Down

0 comments on commit 0c95140

Please sign in to comment.