Page MenuHomePhabricator

D12540.diff
No OneTemporary

D12540.diff

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

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)

Event Timeline