diff --git a/apps/comments-ui/src/components/Like.js b/apps/comments-ui/src/components/Like.js
index 38b12b5dc8..b379b70839 100644
--- a/apps/comments-ui/src/components/Like.js
+++ b/apps/comments-ui/src/components/Like.js
@@ -1,9 +1,30 @@
+import React from 'react';
+import AppContext from '../AppContext';
import {ReactComponent as LikeIcon} from '../images/icons/like.svg';
-function Like() {
- return (
-
- );
+class Like extends React.Component {
+ static contextType = AppContext;
+
+ constructor(props) {
+ super(props);
+ this.state = {
+ liked: false
+ };
+
+ this.toggleLike = this.toggleLike.bind(this);
+ }
+
+ toggleLike() {
+ this.setState(state => ({
+ liked: !state.liked
+ }));
+ }
+
+ render() {
+ return (
+
+ );
+ }
}
-
+
export default Like;