diff --git a/package.json b/package.json index a15cbd67d..78ae3cc4d 100644 --- a/package.json +++ b/package.json @@ -111,4 +111,4 @@ "pre-commit": "yarn lint:fix && yarn prettier && yarn tsc" } } -} +} \ No newline at end of file diff --git a/src/MessageContainer.tsx b/src/MessageContainer.tsx index 4ba1c5350..a43c4d051 100644 --- a/src/MessageContainer.tsx +++ b/src/MessageContainer.tsx @@ -65,7 +65,7 @@ const styles = StyleSheet.create({ }, }) -const screenWidth = Dimensions.get('screen').height +const screenWidth = Dimensions.get('screen').width export interface MessageContainerProps { messages?: TMessage[] isTyping?: boolean