1dd3149795
* Fix error logs * Improve LBC sticker flow/clarity * Show inline error if custom sticker amount below min * Sort emojis alphabetically * Improve loading of Images * Improve quality and display of emojis and fix CSS * Display both USD and LBC prices * Default to LBC tip if creator can't receive USD * Don't clear text-field after sticker is sent * Refactor notification component * Handle notifications * Don't show profile pic on sticker livestream comments * Change Sticker icon * Fix wording and number rounding * Fix blurring emojis * Disable non functional emote buttons
10 lines
436 B
JavaScript
10 lines
436 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doReadNotifications, doDeleteNotification } from 'redux/actions/notifications';
|
|
import Notification from './view';
|
|
|
|
const perform = (dispatch, ownProps) => ({
|
|
readNotification: () => dispatch(doReadNotifications([ownProps.notification.id])),
|
|
deleteNotification: () => dispatch(doDeleteNotification(ownProps.notification.id)),
|
|
});
|
|
|
|
export default connect(null, perform)(Notification);
|