Skip to content
Snippets Groups Projects
Commit e8d76cd3 authored by Dennis Collaris's avatar Dennis Collaris Committed by Marcos Pieras
Browse files

fix: silence missing key warning from react

parent 325ad006
No related branches found
No related tags found
1 merge request!204feat: schema panel tooltips, redesigned tooltip, minimap configuration option
......@@ -19,7 +19,7 @@ export const NLPopUp: React.FC<NLPopUpProps> = ({ data }) => {
</div>
) : (
Object.entries(data).map(([k, v], index) => (
<div className="flex flex-row gap-1 items-center min-h-5">
<div className="flex flex-row gap-1 items-center min-h-5" key={k}>
<span className={`font-semibold truncate min-w-[40%]`}>{k}</span>
<span className="ml-auto text-right truncate grow-1 flex items-center">
{v !== undefined && (typeof v !== 'object' || Array.isArray(v)) && v != '' ? (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment