Fixed missing key warning
這個提交存在於:
父節點
8b4348a6a2
當前提交
d0ced5d1e6
共有 1 個檔案被更改,包括 4 行新增 和 1 行删除
|
@ -77,12 +77,15 @@ class CustomTabBar extends React.Component<Props> {
|
|||
label={label}
|
||||
focused={isFocused}
|
||||
extraData={state.index > index}
|
||||
key={route.key}
|
||||
/>
|
||||
} else
|
||||
return <TabHomeIcon
|
||||
onPress={onPress}
|
||||
onLongPress={onLongPress}
|
||||
focused={isFocused}/>
|
||||
focused={isFocused}
|
||||
key={route.key}
|
||||
/>
|
||||
})}
|
||||
</View>
|
||||
);
|
||||
|
|
載入中…
新增問題並參考