import React, { PureComponent } from 'react' import { pathMatchRegexp } from 'utils' import { SearchCard } from 'components' import styles from './styles.less' import * as ycore from 'ycore' import * as antd from 'antd' import * as Icons from '@ant-design/icons'; import Icon from '@ant-design/icons' class GroupIndexer extends PureComponent { constructor(props){ super(props), this.state = { SearchResult: '', loading: true } } toogleLoading(){ this.setState({loading: !this.state.loading}) } componentDidMount(){ try { const {location} = this.props const matchSearch = pathMatchRegexp("/s/:id", location.pathname); const parsed = matchSearch.shift() const raw = parsed.toString() const string = raw.replace('/s/', "") } catch (err) { ycore.notifyError(err) } } EntryComponent = (t, source) => { try { return(