+
+ {this.state.isChecked ? (
+
+ ) : (
+
+ )}
+
+
+ );
}
-}
-export default LikeButton;
\ No newline at end of file
+ }
+ export default LikeButton;
\ No newline at end of file
diff --git a/src/pages/Lank.tsx b/src/pages/Lank.tsx
index eedc0a2..238f2eb 100644
--- a/src/pages/Lank.tsx
+++ b/src/pages/Lank.tsx
@@ -1,4 +1,4 @@
-import React, { useState } from 'react';
+import React, { useState, useEffect } from 'react';
import styled from 'styled-components';
import FONT from '../styles/Font';
import LankBox from '../component/Lank/LankBox';
@@ -52,6 +52,8 @@ const Lank = () => {
};
const isMobile = window.innerWidth < 768;
+
+
return (