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

換成disqus comments #369

Merged
merged 2 commits into from
Feb 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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