Skip to content

Commit

Permalink
fix: screen width for the MessageContainer component (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuberquia2115 authored Jul 19, 2023
1 parent d33627e commit 609922c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@
"pre-commit": "yarn lint:fix && yarn prettier && yarn tsc"
}
}
}
}
2 changes: 1 addition & 1 deletion src/MessageContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const styles = StyleSheet.create({
},
})

const screenWidth = Dimensions.get('screen').height
const screenWidth = Dimensions.get('screen').width
export interface MessageContainerProps<TMessage extends IMessage> {
messages?: TMessage[]
isTyping?: boolean
Expand Down

0 comments on commit 609922c

Please sign in to comment.