From 217ed133299d8299ff124eb77733d413a0a5f393 Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Tue, 10 Mar 2026 09:42:46 -0700 Subject: [PATCH] fix(mobile): type auth selectors and token placeholders --- mobile/src/app/auth.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mobile/src/app/auth.tsx b/mobile/src/app/auth.tsx index 7be3489..f05b2a4 100644 --- a/mobile/src/app/auth.tsx +++ b/mobile/src/app/auth.tsx @@ -1,14 +1,14 @@ import { useState } from 'react'; import { Pressable, StyleSheet, Text, TextInput, View } from 'react-native'; import { router } from 'expo-router'; -import { useAuthStore } from '../store/auth-store'; +import { useAuthStore, type AuthState } from '../store/auth-store'; import { colors } from '../theme'; export default function AuthScreen() { const [email, setEmail] = useState(''); const [password, setPassword] = useState(''); - const signIn = useAuthStore((state) => state.signIn); - const isLoading = useAuthStore((state) => state.isLoading); + const signIn = useAuthStore((state: AuthState) => state.signIn); + const isLoading = useAuthStore((state: AuthState) => state.isLoading); return ( @@ -19,14 +19,14 @@ export default function AuthScreen() { keyboardType="email-address" onChangeText={setEmail} placeholder="Email" - placeholderTextColor="#7c8698" + placeholderTextColor={colors.textTertiary} style={styles.input} value={email} />