From d933db3a034f3076ca971e303bb558e008db6f74 Mon Sep 17 00:00:00 2001 From: MathieuG-P <40181755+Zagrios@users.noreply.github.com> Date: Sun, 12 Jun 2022 23:01:29 +0200 Subject: [PATCH] remove useless import and change background opacity --- src/renderer/components/modal/modal.component.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderer/components/modal/modal.component.tsx b/src/renderer/components/modal/modal.component.tsx index 0f1af3cc..843407c2 100644 --- a/src/renderer/components/modal/modal.component.tsx +++ b/src/renderer/components/modal/modal.component.tsx @@ -1,7 +1,6 @@ import { ModalExitCode, ModalService, ModalType } from "renderer/services/modale.service"; import { useEffect, useState } from "react" -import { distinctUntilChanged } from "rxjs"; import { LoginModal } from "./modal-types/login-modal.component"; import { GuardModal } from "./modal-types/guard-modal.component"; @@ -21,7 +20,7 @@ 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-40" : "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 && }