fixed background color

master
alex 2024-02-10 23:35:54 +01:00
parent 4c24eed059
commit c9dde71aab
1 changed files with 16 additions and 8 deletions

View File

@ -1,6 +1,6 @@
import { useParams } from "react-router-dom"; import { useParams } from "react-router-dom";
import MyModal from "../../Components/MyModal"; import MyModal from "../../Components/MyModal";
import { Button, Flex, Result, Spin, notification } from "antd"; import { Button, ConfigProvider, Flex, Result, Spin, notification } from "antd";
import { useEffect, useState } from "react"; import { useEffect, useState } from "react";
import MyAppLogo from "../../Components/MyAppLogo"; import MyAppLogo from "../../Components/MyAppLogo";
import PageNotFound, { ButtonBackHome } from "../PageNotFound"; import PageNotFound, { ButtonBackHome } from "../PageNotFound";
@ -91,6 +91,13 @@ export default function Verification() {
}, []); }, []);
return ( return (
<ConfigProvider
theme={{
token: {
colorBgMask: "rgba(0, 0, 0, 0.0)",
},
}}
>
<MyModal isOpen={true} footer={null} closable={false}> <MyModal isOpen={true} footer={null} closable={false}>
{notificationContextHolder} {notificationContextHolder}
@ -100,5 +107,6 @@ export default function Verification() {
{elementContent} {elementContent}
</MyModal> </MyModal>
</ConfigProvider>
); );
} }