Skip to content

Commit

Permalink
fix: refacto packages/components/main/Home.tsx
Browse files Browse the repository at this point in the history
Signed-off-by: clegirar <clemntgirard@gmail.com>
  • Loading branch information
clegirar committed Jan 18, 2021
1 parent 9dc02aa commit 10b02f9
Show file tree
Hide file tree
Showing 14 changed files with 1,369 additions and 1,261 deletions.
2 changes: 1 addition & 1 deletion js/packages/components/avatars.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const HardcodedAvatar: React.FC<{
if (!avatar) {
avatar = Logo
}
console.log('name', name, 'source', !!avatar)

return (
<View
style={[{ borderRadius: size / 2, backgroundColor: 'white' }, border.shadow.medium, style]}
Expand Down
2 changes: 1 addition & 1 deletion js/packages/components/chat/MultiMember.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
useNotificationsInhibitor,
} from '@berty-tech/store/hooks'
import beapi from '@berty-tech/api'
import { ParsedInteraction } from '@berty-tech/store/types.gen'

import { ChatFooter, ChatDate } from './common'
import { Message } from './message'
Expand All @@ -36,7 +37,6 @@ import { SwipeNavRecognizer } from '../shared-components/SwipeNavRecognizer'
import { useLayout } from '../hooks'
import { pbDateToNum } from '../helpers'
import { MultiMemberAvatar } from '../avatars'
import { ParsedInteraction } from '@berty-tech/store/types.gen'

//
// MultiMember
Expand Down
Loading

0 comments on commit 10b02f9

Please sign in to comment.