diff --git a/components/home/RelationshipView.tsx b/components/home/RelationshipView.tsx index 97648c5..a77ee59 100644 --- a/components/home/RelationshipView.tsx +++ b/components/home/RelationshipView.tsx @@ -114,7 +114,7 @@ const RelationshipView: React.FC = ({ pfpUrl }) => { setStatus(null); } } catch (error) { - console.error('Error updating relationship status:', error); + console.log('Error updating relationship status:', error); } }; const handleAcceptRequest = () => handleUpdateRelationshipStatus('accepted'); diff --git a/components/services/SecureStore.tsx b/components/services/SecureStore.tsx index ea74b3a..53e7bb1 100644 --- a/components/services/SecureStore.tsx +++ b/components/services/SecureStore.tsx @@ -131,12 +131,9 @@ export const saveInitialData = async (initialData: InitialData) => { try { await SecureStore.setItemAsync('user', JSON.stringify(initialData.user)); if (initialData.relationshipData) { - console.log('Saving relationship data to SecureStore...'); - console.log('Relationship:', initialData.relationshipData.relationship); await SecureStore.setItemAsync( 'relationship', JSON.stringify(initialData.relationshipData.relationship) ); - console.log('Partner:', initialData.relationshipData.partner); await SecureStore.setItemAsync( 'partner', JSON.stringify(initialData.relationshipData.partner) ); diff --git a/constants/APIs.ts b/constants/APIs.ts index 38b8c6d..f6d7a9f 100644 --- a/constants/APIs.ts +++ b/constants/APIs.ts @@ -141,7 +141,6 @@ export const updateRelationshipStatus = async (userId: number, status: 'accepted const updatedRelationshipData = await response.json() as RelationshipData; return updatedRelationshipData; } catch (error: unknown) { - console.error('Error updating relationship status:', error); throw error; } };