Skip to content

Commit

Permalink
fix: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wangbinyq committed Jul 7, 2018
1 parent ae35288 commit ba3108e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/components/dictionaries/longman/View.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react'
import Speaker from '@/components/Speaker'
import StarRates from '@/components/StarRates'
import { LongmanResult, LongmanResultLex, LongmanResultRelated, LongmanResultEntry } from './engine'
import { LongmanResult, LongmanResultLex, LongmanResultRelated, LongmanResultEntry, speakerIcon } from './engine'
import { message } from '@/_helpers/browser-api'
import { MsgType, MsgAudioPlay } from '@/typings/message'
import { speakerIcon } from './engine'


export default class DictLongman extends React.PureComponent<{ result: LongmanResult }> {
isPlaying = false
Expand Down Expand Up @@ -87,9 +85,9 @@ export default class DictLongman extends React.PureComponent<{ result: LongmanRe

{dicts.map((dict, index) => result[dict].length > 0
? (
<div className='dictLongman-Dict'
onClick={this.onSpeak.bind(this)}
onMouseOver={this.onSpeak.bind(this)}
<div className='dictLongman-Dict'
onClick={this.onSpeak.bind(this)}
onMouseOver={this.onSpeak.bind(this)}
key={dict + index}>
{/* <h1 className='dictLongman-DictTitle'>
<span>- {dictTitle[dict]} -</span>
Expand Down

0 comments on commit ba3108e

Please sign in to comment.