Skip to content

Commit

Permalink
Update src/views/account/Grades/Graph/GradesAverage.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: 𝕂𝕪𝕝𝕚𝕒𝕟 <[email protected]>
  • Loading branch information
camarm-dev and Kgeek33 authored Oct 26, 2024
1 parent 2b653c3 commit 779f21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/account/Grades/Graph/GradesAverage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import * as Haptics from "expo-haptics";
import { PressableScale } from "react-native-pressable-scale";
import { ReanimatedGraphProps, ReanimatedGraphPublicMethods } from "@birdwingo/react-native-reanimated-graph/src/core/dto/graphDTO";
// Using require to set custom types bc module types are broken
const ReanimatedGraph: React.ForwardRefExoticComponent<ReanimatedGraphProps & React.RefAttributes<ReanimatedGraphPublicMethods>> = require("@birdwingo/react-native-reanimated-graph");
const ReanimatedGraph: React.ForwardRefExoticComponent<ReanimatedGraphProps & React.RefAttributes<ReanimatedGraphPublicMethods>> = require("@birdwingo/react-native-reanimated-graph").default;
import { useCurrentAccount } from "@/stores/account";
import AnimatedNumber from "@/components/Global/AnimatedNumber";
import type { Grade } from "@/services/shared/Grade";
Expand Down

0 comments on commit 779f21a

Please sign in to comment.