+ {newApiKeys.map(entry => {
+ const keyIsDuplicate = checkKeyIsDuplicate(entry.key);
+ return (
+
+
+
+
+ handleNewKeyChange(entry.id, 'key', e.target.value)}
+ />
+ handleNewKeyChange(entry.id, 'value', e.target.value)}
+ />
+
+
+ {keyIsDuplicate &&
Key already exists
}
+