mentions icon indicating copy to clipboard operation
mentions copied to clipboard

bug fix -> MenuItem should not leave undefined `key`

Open pardeepsingh1999 opened this issue 3 years ago • 11 comments

fix warning -> Warning: MenuItem should not leave undefined key. at InternalMenuItem

pardeepsingh1999 avatar Feb 18 '22 07:02 pardeepsingh1999

Could you provide a reproduce and add test case?

afc163 avatar Feb 18 '22 07:02 afc163

Could you provide a reproduce and add test case?

I just added ternary operator in MenuItem Option list and a key if there is no data to display.

pardeepsingh1999 avatar Feb 20 '22 10:02 pardeepsingh1999

Could you provide a online reproduce url?

afc163 avatar Feb 21 '22 04:02 afc163

image I have fixed this warning/issue.

pardeepsingh1999 avatar Feb 22 '22 09:02 pardeepsingh1999

A online codesandbox url would be nice, Thx~

afc163 avatar Feb 22 '22 09:02 afc163

plz merge this

ragnaros2046 avatar May 15 '22 02:05 ragnaros2046

@afc163 Me too. It simply happens.

https://codesandbox.io/s/hardcore-colden-ir81x8?file=/src/App.js

スクリーンショット 2023-01-27 15 03 37

GussieTech avatar Jan 27 '23 06:01 GussieTech

+1

minosss avatar Aug 23 '23 05:08 minosss

Conflicting

afc163 avatar Aug 23 '23 05:08 afc163

Conflicting

Should I create a pr?

minosss avatar Aug 23 '23 06:08 minosss

+1

ederssouza-hotmart avatar Aug 19 '24 13:08 ederssouza-hotmart