Skip to content

Commit

Permalink
Fixed #2390 - Ripple is not working on Nextjs
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Nov 5, 2021
1 parent 67537c0 commit e9137c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ripple/Ripple.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ export class Ripple extends Component {
}

render() {
return PrimeReact.ripple && (<span ref={(el => this.ink = el)} className="p-ink" onAnimationEnd={this.onAnimationEnd}></span>);
return PrimeReact.ripple ? (<span ref={(el => this.ink = el)} className="p-ink" onAnimationEnd={this.onAnimationEnd}></span>) : null;
}
}

0 comments on commit e9137c6

Please sign in to comment.