Skip to content

Commit

Permalink
fix: use flexGrow inside SectionButton
Browse files Browse the repository at this point in the history
Signed-off-by: Bibazavr <[email protected]>
  • Loading branch information
Bibazavr committed Apr 3, 2024
1 parent 5c212cd commit f0aac9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/chart/src/LineChart/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
} from '@shopify/react-native-skia';
import {useDerivedValue, useSharedValue} from 'react-native-reanimated';
import {useSafeAreaFrame} from 'react-native-safe-area-context';
import {StyleProp, View, ViewStyle} from 'react-native';
import {useTheme} from '@lad-tech/mobydick-core';
import {StyleProp, ViewStyle} from 'react-native';
import {useTheme, View} from '@lad-tech/mobydick-core';

import Coordinates from '../components/Coordinates';
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/chart/src/components/SectionButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const SectionButton = ({

const createStyleFn = createStyles(() => ({
flex: {
flex: 1,
flexGrow: 1,
},
}));

Expand Down

0 comments on commit f0aac9c

Please sign in to comment.