Page MenuHomePhabricator

D6200.id20678.diff
No OneTemporary

D6200.id20678.diff

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

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)

Event Timeline