diff --git a/src/assets/styles/global.css b/src/assets/styles/global.css index 916043c..ab1f46c 100644 --- a/src/assets/styles/global.css +++ b/src/assets/styles/global.css @@ -244,9 +244,9 @@ Custom } .d-dark > * { - background-color: rgba(35, 35, 35, 0.9) !important; + background-color: rgba(35, 35, 35, 0.9); color: #ffffff; } .d-light > * { - background-color: rgba(255, 255, 255, 0.9) !important; + background-color: rgba(255, 255, 255, 0.9); } \ No newline at end of file diff --git a/src/components/RandomMsg.jsx b/src/components/RandomMsg.jsx index 2aa954c..2639cfa 100644 --- a/src/components/RandomMsg.jsx +++ b/src/components/RandomMsg.jsx @@ -1,5 +1,7 @@ import { API_URL } from "../config"; import { default as $ } from "jquery"; +import ReplayIcon from '@mui/icons-material/Replay'; + var randomMsg; @@ -18,10 +20,21 @@ const getRandomMsg = () => { }); } +window.getRandomMsg = getRandomMsg; // for global usage + export default function RandomMsg() { getRandomMsg(); return ( -