diff --git a/src/components/RandomMsg.jsx b/src/components/RandomMsg.jsx index 2639cfa..9863c39 100644 --- a/src/components/RandomMsg.jsx +++ b/src/components/RandomMsg.jsx @@ -20,8 +20,6 @@ const getRandomMsg = () => { }); } -window.getRandomMsg = getRandomMsg; // for global usage - export default function RandomMsg() { getRandomMsg(); return (