Skip to content

Commit

Permalink
test done and push
Browse files Browse the repository at this point in the history
  • Loading branch information
pinocchio-life-like committed May 25, 2024
1 parent 699ec65 commit 032c3a9
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions packages/app/screens/feed/Feed.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, { useMemo, useState } from 'react';
import React, { useEffect, useMemo, useState } from 'react';
import { FlatList, View, Platform } from 'react-native';
import Card from '../../components/feed/FeedCard';
import { usefetchTrips } from 'app/hooks/trips';
import { useRouter } from 'app/hooks/router';
import { fuseSearch } from '../../utils/fuseSearch';
import useCustomStyles from 'app/hooks/useCustomStyles';
Expand Down Expand Up @@ -37,13 +38,6 @@ interface FeedProps {
feedType?: string;
}

interface UseFeedResult {
data: any[] | null;
error: any | null;
isLoading: boolean;
refetch: () => void;
}

const Feed = ({ feedType = 'public' }: FeedProps) => {
const router = useRouter();

Expand All @@ -66,7 +60,7 @@ const Feed = ({ feedType = 'public' }: FeedProps) => {
ownerId,
feedType,
selectedTypes,
) as UseFeedResult;
);

const onRefresh = () => {
setRefreshing(true);
Expand Down

0 comments on commit 032c3a9

Please sign in to comment.