Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
Fixed lint and tsc
  • Loading branch information
Alex Risch authored and Alex Risch committed May 31, 2024
1 parent 8e02eba commit 9c74f98
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/components/ConversationListHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const ConversationListHeader: FC<ConversationListHeaderProps> = () => {
const {avatarUrl} = useContactInfo(address);

const handleNewMessagePress = useCallback(() => {
navigate(ScreenNames.Search);
navigate(ScreenNames.CreateGroup);
}, [navigate]);

const handleAccountPress = useCallback(() => {
Expand Down
38 changes: 19 additions & 19 deletions src/screens/ConversationListScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import { Group } from '@xmtp/react-native-sdk';
import { Box, Center, FlatList, HStack, VStack } from 'native-base';
import React, { useCallback, useMemo, useState } from 'react';
import { ListRenderItem, Pressable } from 'react-native';
import { ConversationListHeader } from '../components/ConversationListHeader';
import { GroupListItem } from '../components/GroupListItem';
import { Button } from '../components/common/Button';
import { Drawer } from '../components/common/Drawer';
import { Icon } from '../components/common/Icon';
import { Screen } from '../components/common/Screen';
import { Text } from '../components/common/Text';
import { AppConfig } from '../consts/AppConfig';
import { SupportedContentTypes } from '../consts/ContentTypes';
import { TestIds } from '../consts/TestIds';
import { useClient } from '../hooks/useClient';
import { translate } from '../i18n';
import { useListQuery } from '../queries/useListQuery';
import { mmkvStorage } from '../services/mmkvStorage';
import { colors } from '../theme/colors';
import {Group} from '@xmtp/react-native-sdk';
import {Box, Center, FlatList, HStack, VStack} from 'native-base';
import React, {useCallback, useMemo, useState} from 'react';
import {ListRenderItem, Pressable} from 'react-native';
import {ConversationListHeader} from '../components/ConversationListHeader';
import {GroupListItem} from '../components/GroupListItem';
import {Button} from '../components/common/Button';
import {Drawer} from '../components/common/Drawer';
import {Icon} from '../components/common/Icon';
import {Screen} from '../components/common/Screen';
import {Text} from '../components/common/Text';
import {AppConfig} from '../consts/AppConfig';
import {SupportedContentTypes} from '../consts/ContentTypes';
import {TestIds} from '../consts/TestIds';
import {useClient} from '../hooks/useClient';
import {translate} from '../i18n';
import {useListQuery} from '../queries/useListQuery';
import {mmkvStorage} from '../services/mmkvStorage';
import {colors} from '../theme/colors';

const EmptyBackground = require('../../assets/images/Bg_asset.svg').default;

Expand Down

0 comments on commit 9c74f98

Please sign in to comment.