Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3512029
D6200.id20678.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
D6200.id20678.diff
View Options
diff --git a/native/navigation/community-drawer-content.react.js b/native/navigation/community-drawer-content.react.js
--- a/native/navigation/community-drawer-content.react.js
+++ b/native/navigation/community-drawer-content.react.js
@@ -37,7 +37,7 @@
const navigateToThread = useNavigateToThread();
const childThreadInfosMap = useSelector(childThreadInfos);
- const setOpenCommunnityOrClose = React.useCallback((index: string) => {
+ const setOpenCommunityOrClose = React.useCallback((index: string) => {
setOpenCommunity(open => (open === index ? null : index));
}, []);
@@ -53,13 +53,13 @@
<CommunityDrawerItemCommunity
key={item.key}
itemData={itemData}
- toggleExpanded={setOpenCommunnityOrClose}
+ toggleExpanded={setOpenCommunityOrClose}
expanded={itemData.threadInfo.id === openCommunity}
navigateToThread={navigateToThread}
/>
);
},
- [navigateToThread, openCommunity, setOpenCommunnityOrClose],
+ [navigateToThread, openCommunity, setOpenCommunityOrClose],
);
const labelStylesObj = useStyles(labelUnboundStyles);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 6:00 PM (13 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2690767
Default Alt Text
D6200.id20678.diff (1 KB)
Attached To
Mode
D6200: [native] Fix typo in native/navigation/community-drawer-content.react.js
Attached
Detach File
Event Timeline
Log In to Comment