Skip to content

Commit

Permalink
small fixes after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiPirovich committed Oct 31, 2022
1 parent 11fde70 commit f15afd3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ export class BottomNavigation extends React.Component<BottomNavigationProps> {
const [indicatorElement, ...tabElements] = this.renderComponentChildren(evaStyle);

return (
<View testID={testID} style={styles.container}>
<View
testID={testID}
style={styles.container}
>
{indicatorElement}
<View style={[evaStyle.container, styles.elementsContainer, style]}>
{tabElements}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/menu/menuGroup.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class MenuGroup extends React.Component<MenuGroupProps, State> {
this.initiallyExpanded = props.initiallyExpanded;
}

public componentDidUpdate(prevProps: Readonly<MenuGroupProps>, prevState: Readonly<State>, snapshot?: any) {
public componentDidUpdate(prevProps: Readonly<MenuGroupProps>, prevState: Readonly<State>): void {
const submenuHeightChanged = this.state.submenuHeight !== prevState.submenuHeight;
if (submenuHeightChanged && this.hasSubmenu && this.initiallyExpanded) {
this.expandAnimation.setValue(this.state.submenuHeight);
Expand Down

0 comments on commit f15afd3

Please sign in to comment.