From a799b4ffe210a77a64117e1437c026bd771e3ac7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 20 Nov 2018 17:00:33 +0300 Subject: avatars from api --- vnext/src/components/Avatar.js | 4 ++-- vnext/src/components/__tests__/Avatar.test.js | 2 +- vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'vnext') diff --git a/vnext/src/components/Avatar.js b/vnext/src/components/Avatar.js index c42a048a..dfa197c1 100644 --- a/vnext/src/components/Avatar.js +++ b/vnext/src/components/Avatar.js @@ -9,7 +9,7 @@ const Avatar = React.memo(props => {
- {`${props.user.uname}`} + {`${props.user.uname}`}
@@ -29,7 +29,7 @@ export default Avatar; export const AvatarLink = React.memo(props => { return ( - {`${props.user.uname}`} + {`${props.user.uname}`} {props.user.uname} ); diff --git a/vnext/src/components/__tests__/Avatar.test.js b/vnext/src/components/__tests__/Avatar.test.js index e1a12912..e7221871 100644 --- a/vnext/src/components/__tests__/Avatar.test.js +++ b/vnext/src/components/__tests__/Avatar.test.js @@ -7,7 +7,7 @@ import renderer from 'react-test-renderer'; test('Avatar renders correctly', () => { const component = renderer.create( - + ); let tree = component.toJSON(); diff --git a/vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap b/vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap index ef7be4ed..bbd39866 100644 --- a/vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap +++ b/vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap @@ -17,7 +17,7 @@ exports[`Avatar renders correctly 1`] = ` > ugnich
-- cgit v1.2.3