import React, { Component } from 'react'; import { Breadcrumb, Button, Container, Dropdown, Header, Icon, Image, Item, Menu, Segment, Table, Input } from 'semantic-ui-react' import { Link } from 'react-router-dom'; class Tool 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 ); const tool = category.tools.find((x) => x.id == match.params.id ); return (
Categories {category.name} {tool.name} Cat Meow Dog Bark Bird Chrip
Notes

{tool.notes}

); } } export default Tool;