@@ -270,17 +283,11 @@ const Team = ({ data }) => {
-
- {members.map((member) => (
-
- ))}
-
+ {checkmode ? (
+
+ ) : (
+
+ )}
@@ -320,3 +327,35 @@ export const pageQuery = graphql`
}
}
`;
+
+const MemberList = React.forwardRef(({ members }, ref) => {
+ return (
+
+ {members.map((member) => (
+
+ ))}
+
+ );
+});
+
+const MemberListCheck = React.forwardRef(({ members }, ref) => {
+ return (
+
+ {members.map((member) => (
+
+ ))}
+
+ );
+});