From 671639862c5ba1793d8528271576cd29481f507e Mon Sep 17 00:00:00 2001 From: Maxime RICHARD Date: Thu, 23 May 2024 15:46:25 +0200 Subject: [PATCH] fix: added scrollview to the stats page --- presentation/react-native/components/HabitsStatistics.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/presentation/react-native/components/HabitsStatistics.tsx b/presentation/react-native/components/HabitsStatistics.tsx index c7a2da0..0c53546 100644 --- a/presentation/react-native/components/HabitsStatistics.tsx +++ b/presentation/react-native/components/HabitsStatistics.tsx @@ -2,6 +2,7 @@ import { Card, Divider, Text } from "react-native-paper" import CircularProgress from "react-native-circular-progress-indicator" import { Agenda } from "react-native-calendars" import { useState } from "react" +import { ScrollView } from "react-native" import { getNowDateUTC, getISODate } from "@/utils/dates" import type { HabitsTracker } from "@/domain/entities/HabitsTracker" @@ -39,7 +40,7 @@ export const HabitsStatistics: React.FC = (props) => { selected={selectedDateISO} renderList={() => { return ( - <> + = (props) => { ) }, )} - + ) }} />