Reactjs – Getting an error thrown from my loader function in Remixjs on the browser
Here is what my route component and its loader function looks like: import { LoaderFunctionArgs, json } from "@remix-run/node"; import { useLoaderData } from "@remix-run/react"; import { ObjectId } from "mongodb"; import { unverifiedAccountsColleciton } from "~/db"; interface JsonResponse {…