@momo-kits/foundation 0.103.2 → 0.103.3

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.
@@ -378,7 +378,7 @@ const HeaderToolkitAction: React.FC<any> = ({
378
378
  {runtimeTools},
379
379
  (res: {item: {action?: string; key: string}}) => {
380
380
  const {item} = res;
381
- navigator?.toolkitCallback?.(item.key);
381
+ navigator?.toolkitCallback?.(item?.key);
382
382
  getToolkitConfig();
383
383
  }
384
384
  );
@@ -430,7 +430,7 @@ const HeaderToolkitAction: React.FC<any> = ({
430
430
  getToolkitConfig();
431
431
  }
432
432
  );
433
- navigator?.toolkitCallback?.(pinTool.key);
433
+ navigator?.toolkitCallback?.(pinTool?.key);
434
434
  }}
435
435
  />
436
436
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.103.2",
3
+ "version": "0.103.3",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},