Skip to content

Commit 1c77ad2

Browse files
authored
Update index.jsx
1 parent ede0f65 commit 1c77ad2

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/containers/Home/index.jsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -171,18 +171,6 @@ class HomePage extends Component<Props, State> {
171171
)}
172172
</TransitionGroup>
173173
</div>
174-
{/* <Query query={SEARCH_USER} variables={{ username: 'omid' }}>
175-
{({ loading, error, data }) => {
176-
if (loading) return 'Loading...';
177-
if (error) return `Error! ${error.message}`;
178-
179-
const userList = data.search.edges.map((user : any, index : any) => (
180-
<UserItem data={user.node} key={index} />
181-
));
182-
183-
return <div className="search-result">{userList}</div>;
184-
}}
185-
</Query> */}
186174
</HomeStyles>
187175
);
188176
}

0 commit comments

Comments
 (0)