Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zibs committed May 6, 2024
1 parent f1e54eb commit 1a5edf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/app/scrollview-charts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const DATA = Array.from({ length: 31 }, (_, i) => ({
highTmp: 40 + 30 * Math.random(),
}));

const BarChart = () => {
const LineChart = () => {
const font = useFont(inter, 12);
const { state, isActive } = useChartPressState({ x: 0, y: { highTmp: 0 } });
return (
Expand Down Expand Up @@ -45,7 +45,7 @@ export default function GettingStartedScreen() {
{Array.from({ length: 5 }, (_, i) => (
<React.Fragment key={i}>
<View style={styles.chart}>
<BarChart />
<LineChart />
</View>
<InfoCard style={styles.card}>
Just a page with a number of charts nested within a ScrollView
Expand Down

0 comments on commit 1a5edf6

Please sign in to comment.