Commit 1a198d7
authored
fix: refactor EarnHome navigation params and fix ListItem children (#7706)
Refactored EarnHome to build navigation parameters object before calling pushDetailPageFromDeeplink, ensuring 'vault' is only included if defined. Also updated TabSettingsListItem to render children prop, allowing for more flexible list item content.1 parent fc4c815 commit 1a198d7
File tree
2 files changed
+18
-3
lines changed- packages/kit/src/views
- Earn
- Setting/pages/Tab
2 files changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
822 | | - | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
823 | 830 | | |
824 | 831 | | |
825 | 832 | | |
826 | 833 | | |
827 | 834 | | |
828 | 835 | | |
829 | | - | |
830 | | - | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
831 | 844 | | |
832 | 845 | | |
833 | 846 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
0 commit comments