From 1699cddea0d697a73aedce591756f8f74245e84d Mon Sep 17 00:00:00 2001 From: Xitang Date: Tue, 29 Oct 2024 00:17:23 -0700 Subject: [PATCH] Revert some changes and give scrollbar-thumb a default color --- src/app/components/ResumeForm/index.tsx | 15 ++++++++------- src/app/resume-builder/page.tsx | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/app/components/ResumeForm/index.tsx b/src/app/components/ResumeForm/index.tsx index 31ab8e1..6cf270a 100644 --- a/src/app/components/ResumeForm/index.tsx +++ b/src/app/components/ResumeForm/index.tsx @@ -1,4 +1,5 @@ "use client"; +import { useState } from "react"; import { useAppSelector, useSaveStateToLocalStorageOnChange, @@ -28,17 +29,17 @@ export const ResumeForm = () => { useSaveStateToLocalStorageOnChange(); const formsOrder = useAppSelector(selectFormsOrder); + const [isHover, setIsHover] = useState(false); return ( -
setIsHover(true)} + onMouseLeave={() => setIsHover(false)} > -
-
-
{formsOrder.map((form) => { diff --git a/src/app/resume-builder/page.tsx b/src/app/resume-builder/page.tsx index 725cd8c..f8dd0cb 100644 --- a/src/app/resume-builder/page.tsx +++ b/src/app/resume-builder/page.tsx @@ -9,7 +9,7 @@ export default function Create() {
-
+