From 45ac10fdad9a4576966705d618342a9480c0e222 Mon Sep 17 00:00:00 2001 From: MathieuG-P <40181755+Zagrios@users.noreply.github.com> Date: Sun, 19 Jun 2022 21:55:18 +0200 Subject: [PATCH] add new uninstall modal and fix css effect --- src/renderer/components/modal/modal.component.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/modal/modal.component.tsx b/src/renderer/components/modal/modal.component.tsx index 843407c2..c871aa78 100644 --- a/src/renderer/components/modal/modal.component.tsx +++ b/src/renderer/components/modal/modal.component.tsx @@ -4,6 +4,7 @@ import { useEffect, useState } from "react" import { LoginModal } from "./modal-types/login-modal.component"; import { GuardModal } from "./modal-types/guard-modal.component"; +import { UninstallModal } from "./modal-types/uninstall-modal.component"; export function Modal() { @@ -20,10 +21,11 @@ export function Modal() { return (
- modalSevice.resolve({exitCode: ModalExitCode.NO_CHOICE})} className={`absolute top-0 bottom-0 right-0 left-0 transition-opacity bg-black ${modalType? "opacity-60" : "opacity-0"}`}> -
+ modalSevice.resolve({exitCode: ModalExitCode.NO_CHOICE})} className={`absolute top-0 bottom-0 right-0 left-0 transition-opacity bg-black ${modalType ? "opacity-60" : "opacity-0"}`}> +
{modalType === ModalType.STEAM_LOGIN && } {modalType === ModalType.GUARD_CODE && } + {modalType === ModalType.UNINSTALL && }
)