Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3278209
D12540.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
836 B
Referenced Files
None
Subscribers
None
D12540.diff
View Options
diff --git a/native/community-settings/tag-farcaster-channel/tag-channel-button.react.js b/native/community-settings/tag-farcaster-channel/tag-channel-button.react.js
--- a/native/community-settings/tag-farcaster-channel/tag-channel-button.react.js
+++ b/native/community-settings/tag-farcaster-channel/tag-channel-button.react.js
@@ -77,7 +77,7 @@
setError(null);
// This is the "Other" option
- if (selectedIndex === channelOptions.length) {
+ if (selectedIndex === 0) {
navigate<'TagFarcasterChannelByName'>({
name: TagFarcasterChannelByNameRouteName,
params: { communityID },
@@ -86,7 +86,7 @@
return;
}
- const channel = channelOptions[selectedIndex];
+ const channel = channelOptions[selectedIndex - 1];
createTag(channel.id);
},
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 8:14 AM (20 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2519725
Default Alt Text
D12540.diff (836 B)
Attached To
Mode
D12540: [native] fix indexing in tag channel button action sheet
Attached
Detach File
Event Timeline
Log In to Comment