Skip to content

Commit

Permalink
fixed checks
Browse files Browse the repository at this point in the history
  • Loading branch information
katyhonguyen committed Oct 31, 2024
1 parent aecd35d commit d96f9b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/screens/searchScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ type SearchScreenProps = NativeStackScreenProps<RootStackParamList, 'Search'>;

export default function SearchScreen({ navigation }: SearchScreenProps) {
const [trees, setTrees] = useState<any[]>([]);
const [loading, setLoading] = useState(true);

useEffect(() => {
const loadTreeData = async () => {
Expand All @@ -25,7 +24,6 @@ export default function SearchScreen({ navigation }: SearchScreenProps) {
if (treeData) {
setTrees(treeData);
}
setLoading(false);
};

loadTreeData();
Expand Down

0 comments on commit d96f9b3

Please sign in to comment.