dbug fe: remember summary fold state correctly
By manually providing a key, we avoid auto-assigned keys, which would
cause the nth summary item to remain unfolded, even if its contents
changed.
@@ -37,7 +37,7 @@ export class SearchableList extends Component {
if (items.length === 0) {
items = 'none';
} else {
- items = items.map(item => (<div style={{marginTop: '4px'}}>{item.jsx}</div>));
+ items = items.map(item => (<div key={item.key} style={{marginTop: '4px'}}>{item.jsx}</div>));
}
return (<div style={{border: '1px solid grey', padding: '4px'}}>
