Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Barnes committed Mar 29, 2017
1 parent 45703b5 commit 3f3e784
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/History.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface HistoryProps {

isFromMe: (activity: Activity) => boolean,
isSelected: (activity: Activity) => boolean,
onClickActivity: (activity: Activity) => void,
onClickActivity: (activity: Activity) => React.MouseEventHandler<HTMLDivElement>,
doCardAction: (type: string, value: string) => void
}

Expand Down Expand Up @@ -118,7 +118,7 @@ export class HistoryView extends React.Component<HistoryProps, {}> {
selected={ this.props.isSelected(activity) }
fromMe={ this.props.isFromMe(activity) }
onCardAction={ this.props.doCardAction }
onClickActivity={ () => this.props.onClickActivity(activity) }
onClickActivity={ this.props.onClickActivity(activity) }
onClickRetry={ e => {
// Since this is a click on an anchor, we need to stop it
// from trying to actually follow a (nonexistant) link
Expand Down

0 comments on commit 3f3e784

Please sign in to comment.