Skip to content

Commit

Permalink
refactor: use consistent naming for useBottomTabBarHeight (react-navi…
Browse files Browse the repository at this point in the history
…gation#11073)

discrepancy makes it harder for consumers of this package to understand
the internals

I've removed the template because of how simple this change is. Let me
know if y'all would like me to expound on my reasoning for opening this.
  • Loading branch information
goleary authored Dec 4, 2022
1 parent 4e29403 commit 824f66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bottom-tabs/src/utils/useBottomTabBarHeight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';

import BottomTabBarHeightContext from './BottomTabBarHeightContext';

export default function useFloatingBottomTabBarHeight() {
export default function useBottomTabBarHeight() {
const height = React.useContext(BottomTabBarHeightContext);

if (height === undefined) {
Expand Down

0 comments on commit 824f66f

Please sign in to comment.