diff --git a/src/components/Header/component/Layout.jsx b/src/components/Header/component/Layout.jsx index ebe844b6..4c4466bc 100644 --- a/src/components/Header/component/Layout.jsx +++ b/src/components/Header/component/Layout.jsx @@ -99,13 +99,13 @@ const Header = openHoc(({ open={open} toggle={toggle} > - {myRef => ( - + {providerRef => ( + {({ TransitionProps }) => ( - + ({ + root: { + backgroundColor: 'white', + padding: md, + }, user: { alignItems: 'center', border: '1px solid grey', @@ -38,7 +43,7 @@ const styles = () => ({ const UserDetails = ({ provider, connected, network, userAddress, classes, }: Props) => ( - +
@@ -51,7 +56,7 @@ const UserDetails = ({ - +
) export default withStyles(styles)(UserDetails)