typo fixes and code improvements

This commit is contained in:
Sanidhya Kumar Verma
2024-09-04 12:01:27 +00:00
committed by GitHub
parent ac4019e5d1
commit 96d14cecad
7 changed files with 12 additions and 5 deletions
+1
View File
@@ -77,6 +77,7 @@ export const GoogleTextInput = ({
>
<Image
source={icon ? icon : icons.search}
alt="Search"
className="w-6 h-6"
resizeMode="contain"
/>
+2 -2
View File
@@ -1,12 +1,12 @@
import { useOAuth } from "@clerk/clerk-expo";
import { router } from "expo-router";
import { useCallback } from "react";
import { Image, Text, View } from "react-native";
import { icons } from "@/constants";
import { googleOAuth } from "@/lib/auth";
import { CustomButton } from "./custom-button";
import { googleOAuth } from "@/lib/auth";
import { router } from "expo-router";
type OAuthProps = {
title: string;
+1
View File
@@ -24,6 +24,7 @@ export const RideCard = ({ ride }: { ride: Ride }) => {
source={{
uri: `https://maps.geoapify.com/v1/staticmap?style=osm-bright&width=600&height=400&center=lonlat:${destination_longitude},${destination_latitude}&zoom=14&apiKey=${process.env.EXPO_PUBLIC_GEOAPIFY_API_KEY}`,
}}
alt="Map"
className="w-[80px] h-[90px] rounded-lg"
/>