what the problem with my code is bien repeating 5 time : import React, { Component } from "react";
class App extends Component {
state = {value: [{title: "my title",category: "action",replies: "62",views: "26k",activity: "18h"}]};
render() {return (
<div>{this.state.value ? this.state.value.map(valu => Object.keys(valu).map((tr, index) => (
<div key={index}>{valu.title}&emsp;&emsp;{valu.category}&emsp;&emsp;{valu.replies}&emsp;&emsp;{valu.views}&emsp;&emsp;{valu.activity}</div>))): null}</div>);}}export default App;
