Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3395050
D8122.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8122.diff
View Options
diff --git a/native/community-creation/community-configuration.react.js b/native/community-creation/community-configuration.react.js
--- a/native/community-creation/community-configuration.react.js
+++ b/native/community-creation/community-configuration.react.js
@@ -92,11 +92,14 @@
setErrorMessage();
const newThreadResultPromise = callCreateNewCommunity();
dispatchActionPromise(newThreadActionTypes, newThreadResultPromise);
- await newThreadResultPromise;
+ const newThreadResult = await newThreadResultPromise;
navigate<'CommunityCreationMembers'>({
name: CommunityCreationMembersRouteName,
- params: { announcement: announcementSetting },
+ params: {
+ announcement: announcementSetting,
+ threadID: newThreadResult.newThreadID,
+ },
});
}, [
announcementSetting,
diff --git a/native/community-creation/community-creation-members.react.js b/native/community-creation/community-creation-members.react.js
--- a/native/community-creation/community-creation-members.react.js
+++ b/native/community-creation/community-creation-members.react.js
@@ -23,6 +23,7 @@
export type CommunityCreationMembersScreenParams = {
+announcement: boolean,
+ +threadID: string,
};
const TagInput = createTagInput<AccountUserInfo>();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 2, 1:20 AM (18 m, 56 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2606411
Default Alt Text
D8122.diff (1 KB)
Attached To
Mode
D8122: [native] Pass `threadID` of newly created community to `CommunityCreationMembers`
Attached
Detach File
Event Timeline
Log In to Comment