Adding a jsconfig to ensure all javascript imports can be absolute instead of relative

This commit is contained in:
Keith Stevens
2022-12-18 17:38:59 +09:00
parent 24504e1622
commit 02ec176670
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
{
"compilerOptions": {
"baseUrl": "."
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
import { unstable_getServerSession } from "next-auth/next";
import { authOptions } from "./auth/[...nextauth]";
import { authOptions } from "pages/api/auth/[...nextauth]";
/**
* Returns a new task created from the Task Backend. We do a few things here:
+1 -1
View File
@@ -5,7 +5,7 @@ import { useSession, signIn, signOut } from "next-auth/react";
import { useEffect, useState } from "react";
import useSWR from "swr";
import styles from "../styles/Home.module.css";
import styles from "styles/Home.module.css";
const fetcher = (url) => axios.get(url).then((res) => res.data);