diff --git a/src/components/panels/UserPanel.jsx b/src/components/panels/UserPanel.jsx index 6b449a7..0286069 100644 --- a/src/components/panels/UserPanel.jsx +++ b/src/components/panels/UserPanel.jsx @@ -16,8 +16,10 @@ import { DIALOGS } from '$constants/dialogs'; type Props = { user: UserType, + dialog_active: Boolean, + dialog: String, + userLogout: Function, - setUser: Function, setDialog: Function, gotVkUser: Function, }; @@ -75,7 +77,7 @@ export class Component extends React.PureComponent { render() { const { - props: { user }, + props: { user, dialog, dialog_active }, state: { menuOpened }, } = this; @@ -100,7 +102,10 @@ export class Component extends React.PureComponent {