From b464e311b44a5f3baeb1568ba55b6322a1a11638 Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Sun, 13 Sep 2026 11:43:52 -0700 Subject: Fix pnpm build error requirements --- jb-ui/src/components/Profiling.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'jb-ui/src/components/Profiling.tsx') diff --git a/jb-ui/src/components/Profiling.tsx b/jb-ui/src/components/Profiling.tsx index 23b8457..b834c9f 100644 --- a/jb-ui/src/components/Profiling.tsx +++ b/jb-ui/src/components/Profiling.tsx @@ -3,7 +3,7 @@ import { useGetMeQuery } from "@/models/authAPI"; import { ChevronRightIcon } from "lucide-react"; import { KeyboardEvent, MouseEvent, useEffect, useRef, useState } from "react"; -import { useAppDispatch, useAppSelector } from "@/hooks"; +import { useAppDispatch } from "@/hooks"; import { bpid } from "@/lib/utils"; import { createColumnHelper, @@ -47,7 +47,7 @@ const TextEntry = () => { // const selectAnswer = useSelector(selectAnswerForQuestion(question)); const metadata = activeQuestion?._metadata; const validation = activeQuestion?._validation; - const { data: user, isLoading, isError } = useGetMeQuery(); + const { data: user } = useGetMeQuery(); if (!metadata) return null; if (!validation) return null; @@ -113,7 +113,7 @@ export default function useKeyboardMode(rowModel: RowModel) { const dispatch = useAppDispatch(); const activeQuestion = useSelector(selectActiveQuestion); - const { data: user, isLoading, isError } = useGetMeQuery(); + const { data: user } = useGetMeQuery(); const keyboardSelectionIdxRef = useRef(0); @@ -514,7 +514,7 @@ const ProfilingQuestionSubmitButton = () => { const activeQuestion = useSelector(selectActiveQuestion); const activeQuestionValidation = useSelector(selectActiveQuestionValidation); - const { data: user, isLoading, isError } = useGetMeQuery(); + const { data: user } = useGetMeQuery(); const handleOnClick = () => { if (!activeQuestion) return; @@ -759,7 +759,7 @@ const Profiling = () => { const [showProfiling, setShowProfiling] = useState(false); const dispatch = useAppDispatch(); - const { data: user, isLoading, isError } = useGetMeQuery(); + const { data: user } = useGetMeQuery(); useEffect(() => { if (!user?.product_user_id) return; -- cgit v1.2.3