Skip to content

Commit

Permalink
[fe] refactor (#95) 매칭된 택시 정보 컴포넌트 변경
Browse files Browse the repository at this point in the history
- taxiInfo가 변경될 일이 없기 때문에 useMemo로 래핑
  • Loading branch information
GrasshopperBears committed Dec 14, 2020
1 parent 7f58005 commit d0002b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/userMatching/MatchedDriverData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ const P = styled.div`
text-overflow: ellipsis;
`;

export default MatchedDriverData;
export default React.memo(MatchedDriverData);

0 comments on commit d0002b3

Please sign in to comment.