chore: fix ts
This commit is contained in:
@@ -9,7 +9,7 @@ export interface LatLng {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface RouteInfo {
|
export interface RouteInfo {
|
||||||
distance: string; // e.g. "2.4 km"
|
distance: string;
|
||||||
duration: string;
|
duration: string;
|
||||||
distanceMeters: number;
|
distanceMeters: number;
|
||||||
durationSeconds: number;
|
durationSeconds: number;
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ function AdminTabs() {
|
|||||||
<View
|
<View
|
||||||
style={[
|
style={[
|
||||||
styles.badge,
|
styles.badge,
|
||||||
{ backgroundColor: colors.error ?? "#e74c3c" },
|
{ backgroundColor: colors.danger },
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<Text style={styles.badgeText}>
|
<Text style={styles.badgeText}>
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ export default function CabineNavigator() {
|
|||||||
<View
|
<View
|
||||||
style={[
|
style={[
|
||||||
styles.badge,
|
styles.badge,
|
||||||
{ backgroundColor: colors.error ?? "#e74c3c" },
|
{ backgroundColor: colors.danger },
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<Text style={styles.badgeText}>
|
<Text style={styles.badgeText}>
|
||||||
|
|||||||
Reference in New Issue
Block a user