11 lines
236 B
JavaScript
11 lines
236 B
JavaScript
const { connect } = require('preact-redux');
|
|
|
|
const InvStats = require('./invstats');
|
|
|
|
// Add the incident from state as a property
|
|
const addState = connect(
|
|
state => ({ cryp: state.cryp }),
|
|
);
|
|
|
|
module.exports = addState(InvStats);
|