Skip to content

Colota - Android GPS Location tracker

fixed imports

Max Dietrich219377bafcdc
diff --git a/src/components/ui/ErrorBoundary.tsx b/src/components/ui/ErrorBoundary.tsx
index bfb04e0a..8be127e3 100644
--- a/src/components/ui/ErrorBoundary.tsx
+++ b/src/components/ui/ErrorBoundary.tsx
@@ -4,7 +4,7 @@
*/
import React, { Component } from "react"
import { View, Text, StyleSheet, TouchableOpacity } from "react-native"
-import { ThemeColors } from "../types/global"
+import { ThemeColors } from "../../types/global"
interface ErrorBoundaryProps {
children: React.ReactNode
diff --git a/src/components/ui/ThemedErrorBoundary.tsx b/src/components/ui/ThemedErrorBoundary.tsx
index c887650d..601f850d 100644
--- a/src/components/ui/ThemedErrorBoundary.tsx
+++ b/src/components/ui/ThemedErrorBoundary.tsx
@@ -3,7 +3,7 @@
* Licensed under the GNU AGPLv3. See LICENSE in the project root for details.
*/
import React from "react"
-import { useTheme } from "../hooks/useTheme"
+import { useTheme } from "../../hooks/useTheme"
import ErrorBoundary from "./ErrorBoundary"
interface ThemedErrorBoundaryProps {
diff --git a/src/contexts/__tests__/TrackingProvider.test.tsx b/src/contexts/__tests__/TrackingProvider.test.tsx
index 349578ea..65f91660 100644
--- a/src/contexts/__tests__/TrackingProvider.test.tsx
+++ b/src/contexts/__tests__/TrackingProvider.test.tsx
@@ -81,7 +81,7 @@ describe("useTracking", () => {
const { result } = renderHook(() => useTracking(), { wrapper })
await act(async () => {
- await new Promise((resolve) => setTimeout(resolve, 100))
+ await new Promise<void>((resolve) => setTimeout(resolve, 100))
})
expect(result.current.settings.interval).toBe(10)