diff --git a/src/components/Skeleton/AlertProvider.jsx b/src/components/Skeleton/AlertProvider.tsx similarity index 92% rename from src/components/Skeleton/AlertProvider.jsx rename to src/components/Skeleton/AlertProvider.tsx index cc81504e4..be1c47dc4 100644 --- a/src/components/Skeleton/AlertProvider.jsx +++ b/src/components/Skeleton/AlertProvider.tsx @@ -1,4 +1,4 @@ -import React, { useRef } from "react"; +import React, { useRef, ReactNode } from "react"; import Modal from "components/common/modal/Modal"; import { useRecoilState } from "recoil"; import alertAtom from "recoil/alert"; @@ -9,7 +9,7 @@ import DottedLine from "components/common/DottedLine"; import WbIncandescentRoundedIcon from "@material-ui/icons/WbIncandescentRounded"; const AlertProvider = () => { - const messageCache = useRef(""); + const messageCache = useRef(""); const [message, setMessage] = useRecoilState(alertAtom); const onClickClose = () => setMessage(null); @@ -51,7 +51,7 @@ const AlertProvider = () => {