Basic routing implementation.

This commit is contained in:
Patrick Fic
2025-10-07 15:35:03 -07:00
parent befa06a6b5
commit b8261f001e
14 changed files with 127 additions and 308 deletions

View File

@@ -1,8 +1,8 @@
import axios from "axios";
import { store } from "../redux/store";
import mime from "mime";
import * as MediaLibrary from "expo-media-library";
import * as Sentry from "@sentry/react-native";
import mime from "mime";
import { store } from "../redux/store";
axios.interceptors.request.use(
function (config) {
@@ -96,14 +96,12 @@ export const handleLocalUpload = async ({
});
}
} catch (error) {
Sentry.captureException(error);
console.log("Error uploading documents:", error.message);
onError && onError({ error: error.message });
}
} catch (error) {
console.log("Uncaught error", error);
Sentry.captureException(error);
onError && onError({ error: error.message });
}