import React, { Component } from 'react'; import { Container, Dropdown, Header, Icon, Item, Menu, Segment, Input } from 'semantic-ui-react' import { Link } from 'react-router-dom'; class Category extends Component { render() { const data = this.props.data; const match = this.props.match; const category = data.categories.find((x) => x.slug == match.params.category ); return (