Merge commit 'def2867c289ec84a77aeeaa7fc9ec47c1c95ab0a' into iipbs/dm/dev

This commit is contained in:
leedj312
2025-08-01 14:39:01 +09:00
2 changed files with 7 additions and 3 deletions
@@ -9,7 +9,7 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { useRouter, useSearchParams } from "next/navigation";
import { Suspense, useEffect, useState } from "react";
import { FormProvider, useForm, type SubmitHandler } from "react-hook-form";
import { Toaster } from "react-hot-toast";
import toast, { Toaster } from "react-hot-toast";
import * as z from "zod";
import SdmLogin from "../sdmLogin/page";
@@ -291,6 +291,7 @@ function SdmInfoInsertContent() {
open={!isLogin}
onOpenChange={(open) => {
if (!open) {
toast.dismiss();
router.push("/");
}
}}
@@ -75,16 +75,19 @@ export function SdmLoginForm() {
const initPassword = () => {
toast(
() => (
(t) => (
<div className="flex flex-col items-center">
<div className="text-2xl mb-2">
관리자(031-0000-0000)에게 비밀번호 초기화 요청을 유선으로 하시기 바랍니다.
</div>
<Button size={"sm"} onClick={() => toast.dismiss(t.id)}>
확인
</Button>
</div>
),
{
id: "pwd-reset",
duration: 5000,
duration: Infinity,
position: "top-center",
}
);