Skip to content

Commit

Permalink
fix: [tabBar] adjust the color of setting icon
Browse files Browse the repository at this point in the history
  • Loading branch information
w2xi committed Oct 6, 2024
1 parent 15b49a0 commit 5f3f791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/layout/tabBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function TabBar() {
const navigate = useNavigate()
const location = useLocation()
const menuList = useUserStore(state => state.menuList)
const locale = useAppStore(state => state.locale)
const { locale, theme } = useAppStore()

Check failure on line 49 in src/pages/layout/tabBar.tsx

View workflow job for this annotation

GitHub Actions / build

'theme' is declared but its value is never read.
const { visitedRoutes, addVisitedRoute, setVisitedRoute } = useTabBarStore()
const { token } = useToken()

Expand Down Expand Up @@ -133,7 +133,7 @@ function TabBar() {
}}
trigger={['click']}
>
<SettingOutlined className="icon-setting" />
<SettingOutlined className="icon-setting" style={{ color: token.colorTextSecondary }} />
</Dropdown>
</div>
)
Expand Down

0 comments on commit 5f3f791

Please sign in to comment.