From 7a703bfaa499769f04a992aca1342cce52e89f03 Mon Sep 17 00:00:00 2001 From: Haaxor1689 Date: Mon, 5 Aug 2024 21:23:01 +0200 Subject: [PATCH] Build fixes --- src/app/calculator/page.tsx | 2 +- src/components/builder/TalentEdit.tsx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/calculator/page.tsx b/src/app/calculator/page.tsx index ae2ce2e..2bdea70 100644 --- a/src/app/calculator/page.tsx +++ b/src/app/calculator/page.tsx @@ -4,7 +4,7 @@ import { Suspense } from 'react'; import PersonalBuilds from '~/components/builds-lists/PersonalBuilds'; import TurtleBuilds from '~/components/builds-lists/TurtleBuilds'; import Spinner from '~/components/styled/Spinner'; -import SpellIcon from '~/components/styled/TalentIcon'; +import SpellIcon from '~/components/styled/SpellIcon'; const Page = () => ( <> diff --git a/src/components/builder/TalentEdit.tsx b/src/components/builder/TalentEdit.tsx index 8ef117b..d391f07 100644 --- a/src/components/builder/TalentEdit.tsx +++ b/src/components/builder/TalentEdit.tsx @@ -2,7 +2,6 @@ import { useFormContext, useWatch } from 'react-hook-form'; import { Link2Off, Trash2 } from 'lucide-react'; -import { useSession } from 'next-auth/react'; import { Talent, type TalentFormT } from '~/server/api/types'; @@ -54,7 +53,6 @@ type Props = { }; const TalentEdit = ({ selected, editable }: Props) => { - const session = useSession(); const { register, setValue } = useFormContext(); return (