Skip to content

Commit

Permalink
fix: linter react issues import
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisCusihuaman committed Nov 9, 2023
1 parent 9d6ff86 commit b8b87ad
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/screens/chat/chat-body.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import React from 'react';

import { Button, Image, Text, View } from '@/ui';

const MY_PROFILE_PHOTO =
Expand Down
2 changes: 2 additions & 0 deletions src/screens/chat/chat-header.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import React from 'react';

import { Image, Text, View } from '@/ui';

const ChatHeader = () => {
Expand Down
1 change: 1 addition & 0 deletions src/screens/chat/chat-list-body.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react';
import { Image, Text, TouchableOpacity, View } from 'react-native';

import type { ChatBase } from './chat-list-screen';
Expand Down
1 change: 1 addition & 0 deletions src/screens/chat/chat-list-header.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react';
import { Text, View } from 'react-native';

const ChatListHeader = () => {
Expand Down
1 change: 1 addition & 0 deletions src/screens/chat/chat-list-screen.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useNavigation } from '@react-navigation/native';
import React from 'react';
import { View } from 'react-native';

import ChatListBody from './chat-list-body';
Expand Down
1 change: 1 addition & 0 deletions src/screens/chat/chat-screen.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Displays the chat

import React from 'react';
import { ScrollView } from 'react-native-gesture-handler';

import { View } from '@/ui';
Expand Down
2 changes: 1 addition & 1 deletion src/screens/feed/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const Feed = () => {
onEndReached={handleEndReached}
onEndReachedThreshold={0.1}
// Adjust the threshold as needed
getItemLayout={(data, index) => ({
getItemLayout={(_data, index) => ({
length: 100, // Adjust the item length as needed
offset: 100 * index,
index,
Expand Down
1 change: 1 addition & 0 deletions src/screens/login/login-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const LoginForm = ({
return (
<View className="flex-1 justify-center p-4 ">
<Image
// eslint-disable-next-line react-native/no-inline-styles
style={{ width: 100, height: 100, alignSelf: 'center' }}
source={require('../../../assets/icon.png')}
/>
Expand Down

0 comments on commit b8b87ad

Please sign in to comment.