From 89ca853a8a5f57bd0ed410a584814b69cf9d5677 Mon Sep 17 00:00:00 2001 From: srgooglo Date: Mon, 7 Jul 2025 17:32:56 +0200 Subject: [PATCH] Format --- .../components/@mobile/bottomBar/index.jsx | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) 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")}