Skip to content

Commit

Permalink
Fixed frontend linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
r800360 committed Feb 21, 2024
1 parent a916d83 commit 95f995c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dfm-sideline-sidekick-app/ConditionsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Image, Pressable, SafeAreaView, ScrollView, Text, View } from "react-na

import styles from "./ConditionSectionStyles";
import StringRenderer from "./components/StringRenderer";
import { getEmergency } from "./emergencies";
// import { getEmergency } from "./emergencies";

import type { Emergency } from "./emergencies";

Expand Down
6 changes: 3 additions & 3 deletions dfm-sideline-sidekick-app/HomeScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useNavigation } from "@react-navigation/native";
import React, { useEffect, useState } from "react";
import { useEffect, useState } from "react";
import { Pressable, Text } from "react-native";

import { getEmergency } from "./emergencies";
Expand Down Expand Up @@ -31,7 +31,7 @@ export default function HomeScreen() {
}
}

fetchEmergency();
void fetchEmergency();
}, []);

const handlePress = () => {
Expand All @@ -41,7 +41,7 @@ export default function HomeScreen() {
};

return (
<Pressable onPress={handlePress} disabled={!emergency}>
<Pressable onPress={handlePress}>
<Text>Navigate to ConditionsSection</Text>
</Pressable>
);
Expand Down

0 comments on commit 95f995c

Please sign in to comment.