(state)
| 4 | import { selectLocale, selectModel } from 'selectors'; |
| 5 | |
| 6 | const mapStateToProps = (state) => { |
| 7 | const model = selectModel(state); |
| 8 | const locale = selectLocale(state); |
| 9 | return { fullList: model.types.topic.values, locale }; |
| 10 | }; |
| 11 | |
| 12 | class Topic extends Component { |
| 13 | static Name = connect(mapStateToProps)(VLTopic.Label); |
nothing calls this directly
no test coverage detected