Skip to content

Commit e8dcbe4

Browse files
refactor: useeffect dependency update
1 parent 3b1fd72 commit e8dcbe4

File tree

2 files changed

+8
-62
lines changed

2 files changed

+8
-62
lines changed

android/app/google-services.json

Lines changed: 7 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,26 @@
11
{
22
"project_info": {
3-
"project_number": "115198584049",
4-
"firebase_url": "https://rocketchat-reactnative-test.firebaseio.com",
5-
"project_id": "rocketchat-reactnative-test",
6-
"storage_bucket": "rocketchat-reactnative-test.appspot.com"
3+
"project_number": "458482441651",
4+
"project_id": "rocket-chat-a36f2",
5+
"storage_bucket": "rocket-chat-a36f2.firebasestorage.app"
76
},
87
"client": [
98
{
109
"client_info": {
11-
"mobilesdk_app_id": "1:115198584049:android:a79216ae48935d2c9ab550",
12-
"android_client_info": {
13-
"package_name": "chat.rocket.android"
14-
}
15-
},
16-
"oauth_client": [
17-
{
18-
"client_id": "115198584049-ack609b1338b827fta26s9rd2ab1aad5.apps.googleusercontent.com",
19-
"client_type": 3
20-
}
21-
],
22-
"api_key": [
23-
{
24-
"current_key": "AIzaSyAWwowhAfACHBw3YxmDOXY3QyakgjhJLqc"
25-
}
26-
],
27-
"services": {
28-
"appinvite_service": {
29-
"other_platform_oauth_client": [
30-
{
31-
"client_id": "115198584049-ack609b1338b827fta26s9rd2ab1aad5.apps.googleusercontent.com",
32-
"client_type": 3
33-
},
34-
{
35-
"client_id": "115198584049-0efgfvm0oh9ap55g7epmqnjm27mq3j4e.apps.googleusercontent.com",
36-
"client_type": 2,
37-
"ios_info": {
38-
"bundle_id": "chat.rocket.reactnative"
39-
}
40-
}
41-
]
42-
}
43-
}
44-
},
45-
{
46-
"client_info": {
47-
"mobilesdk_app_id": "1:115198584049:android:8be27b1f7c42a2ed",
10+
"mobilesdk_app_id": "1:458482441651:android:2bc0da0e5b4f419d887fc6",
4811
"android_client_info": {
4912
"package_name": "chat.rocket.reactnative"
5013
}
5114
},
52-
"oauth_client": [
53-
{
54-
"client_id": "115198584049-ack609b1338b827fta26s9rd2ab1aad5.apps.googleusercontent.com",
55-
"client_type": 3
56-
}
57-
],
15+
"oauth_client": [],
5816
"api_key": [
5917
{
60-
"current_key": "AIzaSyAWwowhAfACHBw3YxmDOXY3QyakgjhJLqc"
18+
"current_key": "AIzaSyAKNXcYVEyFVq2MRnW15LTxdybsKHjRr0Q"
6119
}
6220
],
6321
"services": {
6422
"appinvite_service": {
65-
"other_platform_oauth_client": [
66-
{
67-
"client_id": "115198584049-ack609b1338b827fta26s9rd2ab1aad5.apps.googleusercontent.com",
68-
"client_type": 3
69-
},
70-
{
71-
"client_id": "115198584049-0efgfvm0oh9ap55g7epmqnjm27mq3j4e.apps.googleusercontent.com",
72-
"client_type": 2,
73-
"ios_info": {
74-
"bundle_id": "chat.rocket.reactnative"
75-
}
76-
}
77-
]
23+
"other_platform_oauth_client": []
7824
}
7925
}
8026
}

app/views/ProfileView/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ const ProfileView = ({ navigation }: IProfileViewProps): React.ReactElement => {
291291
currentPassword: null,
292292
saving: false
293293
});
294-
}, [user, reset])
294+
}, [user?.name, user?.username, user?.emails, user?.bio, user?.nickname, reset])
295295
);
296296

297297
return (

0 commit comments

Comments
 (0)