fix frontend build issues
This commit is contained in:
@@ -4,6 +4,7 @@ import { connect } from 'preact-redux';
|
||||
|
||||
import api from 'common/api';
|
||||
import LastCommentsList from './last-comments-list';
|
||||
import { getHandleClickProps } from 'common/accessibility';
|
||||
import Avatar from 'components/avatar-icon';
|
||||
import { fetchComments, completeFetchComments } from './user-info.actions';
|
||||
import { getUserComments, getIsLoadingUserComments } from './user-info.getters';
|
||||
|
||||
@@ -50,6 +50,11 @@ function init() {
|
||||
picture: params.picture,
|
||||
};
|
||||
store.set('user', user);
|
||||
const onClose = () => {
|
||||
if (window.parent) {
|
||||
window.parent.postMessage(JSON.stringify({ isUserInfoShown: false }), '*');
|
||||
}
|
||||
};
|
||||
render(
|
||||
<div id={NODE_ID}>
|
||||
<div className="root root_user-info">
|
||||
|
||||
Reference in New Issue
Block a user