Skip to content

Commit

Permalink
Add navigation Props back to CompletionSummaryScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesq23 committed Sep 3, 2024
1 parent 0375f13 commit fd36d53
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/screens/CompletionSummary/CompletionSummaryScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React from "react";
import { View } from "react-native";
// import { NativeStackScreenProps } from "@react-navigation/native-stack";
import { NativeStackScreenProps } from "@react-navigation/native-stack";
import OneLineComponent from "../../components/OneLineComponent";
import TwoLineComponent from "../../components/TwoLineComponent";
// import { RootStackParamList } from "../../types";
import { RootStackParamList } from "../../types";
import ContinueButton from "../../components/ContinueButton";
import QuestionMarkCircleIcon from "../../assets/QuestionMarkCircleIcon";
import TwoThirdsPieChartIcon from "../../assets/TwoThirdsPieChartIcon";
import OneSixthPieChartIcon from "../../assets/OneSixthPieChartIcon";

// type Props = NativeStackScreenProps<RootStackParamList>;
type Props = NativeStackScreenProps<RootStackParamList>;

const EnclosedQuestionIcon = (
<View
Expand Down Expand Up @@ -58,8 +58,8 @@ const EnclosedOneSixthPieChartIcon = (
<OneSixthPieChartIcon color="#EA4335" />
</View>
);

function CompletionSummaryScreen() {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
function CompletionSummaryScreen({ navigation }: Props) {
return (
<View style={{ justifyContent: "center", alignItems: "center" }}>
<OneLineComponent
Expand Down

0 comments on commit fd36d53

Please sign in to comment.