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