diff --git a/src/Components/Dashboard/Dashboard.js b/src/Components/Dashboard/Dashboard.js index afcdd50..6c5255b 100644 --- a/src/Components/Dashboard/Dashboard.js +++ b/src/Components/Dashboard/Dashboard.js @@ -1,6 +1,6 @@ import React, { useState, useContext, useEffect, useRef } from "react"; import { CaseCard } from "../../pageElements/Cards.js"; -import { Link, useNavigate } from "react-router-dom"; +import { Link, useNavigate, createSearchParams } from "react-router-dom"; import MobileContent from "../MobileContent"; import { ArrowRight, @@ -106,6 +106,20 @@ const Dashboard = () => { return null; } + function handleClick(e) { + e.preventDefault(); + console.log("handle lcick"); + //searchParams.set("mode", mode); + //setSearchParams(searchParams); + //navigate(`/passwordreset/?mode=enterEmail`); + navigate({ + pathname: "/passwordreset/", + search: `?${createSearchParams({ + mode: "enterEmail", + })}`, + }); + } + const DesktopContent = () => { return allCases !== null ? (
+ Welcome to Novodraft, attorney {group.lastName}. We are + excited to introduce you to our application. Review the + step-by-step user guide by clicking "How-to" in the + navigation bar. +
++ {" "} +
+ You should change your password now by{" "} + + clicking here + +