@momo-kits/foundation 0.81.43-rc.1 → 0.81.43-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -347,9 +347,8 @@ const HeaderToolkitAction: React.FC<any> = ({
347
347
  };
348
348
 
349
349
  const renderPinnedTool = () => {
350
- const pinTool = toolConfig?.tools?.find(
351
- (i: any) => i.key === pinnedTool?.key,
352
- );
350
+ const pinKey = pinnedTool?.key || toolConfig?.pinnedTool?.key;
351
+ const pinTool = toolConfig?.tools?.find((i: any) => i.key === pinKey);
353
352
  const {badgeValue, badgeType} = pinnedTool ?? {};
354
353
 
355
354
  if (pinTool)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.81.43-rc.1",
3
+ "version": "0.81.43-rc.2",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {