From 27b0daa4f2a7e5d9207d0afea78296ca11ca6277 Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Wed, 22 Nov 2023 11:49:27 +0800 Subject: [PATCH] :lipstick: use theme close button --- website/src/components/Modal/index.tsx | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/website/src/components/Modal/index.tsx b/website/src/components/Modal/index.tsx index 1a3a754ba77f..97db5858cad0 100644 --- a/website/src/components/Modal/index.tsx +++ b/website/src/components/Modal/index.tsx @@ -2,6 +2,8 @@ import React, { useEffect, useState } from "react"; import clsx from "clsx"; +import IconClose from "@theme/Icon/Close"; + import "./styles.css"; export type Props = { @@ -45,20 +47,7 @@ export default function Modal({ {title}