diff --git a/packages/app/src/layouts/components/@mobile/bottomBar/index.jsx b/packages/app/src/layouts/components/@mobile/bottomBar/index.jsx index 84e4be0d..ed45c4c7 100755 --- a/packages/app/src/layouts/components/@mobile/bottomBar/index.jsx +++ b/packages/app/src/layouts/components/@mobile/bottomBar/index.jsx @@ -159,7 +159,10 @@ const AccountButton = React.forwardRef((props, ref) => { >
{user ? ( - + ) : ( createIconRender("FiLogin") )} @@ -168,6 +171,8 @@ const AccountButton = React.forwardRef((props, ref) => { ) }) +AccountButton.displayName = "AccountButton" + export class BottomBar extends React.Component { static contextType = Context @@ -366,9 +371,7 @@ export class BottomBar extends React.Component { } const heightValue = Number( - app.cores.style - .getDefaultVar("bottom-bar-height") - .replace("px", ""), + app.cores.style.getDefaultVar("bottom-bar-height").replace("px", ""), ) return ( @@ -409,10 +412,7 @@ export class BottomBar extends React.Component {
@@ -441,9 +441,7 @@ export class BottomBar extends React.Component { }) }} > -
- {createIconRender("FiHome")} -
+
{createIconRender("FiHome")}
-
- {createIconRender("FiSearch")} -
+
{createIconRender("FiSearch")}