[Glitch] Fix dimensions of preview cards, fix crash in web UI, fix warning

Port 9c38c5daa3 to glitch-soc
This commit is contained in:
Thibaut Girka
2018-10-29 14:56:53 +01:00
committed by ThibG
parent ac9780b844
commit b21615e957
7 changed files with 6 additions and 87 deletions

View File

@@ -1,8 +0,0 @@
import { connect } from 'react-redux';
import Card from '../components/card';
const mapStateToProps = (state, { statusId }) => ({
card: state.getIn(['statuses', statusId, 'card'], null),
});
export default connect(mapStateToProps)(Card);