diff --git a/src/showplanner/PISModal.tsx b/src/showplanner/PISModal.tsx index f722e88..24542e7 100644 --- a/src/showplanner/PISModal.tsx +++ b/src/showplanner/PISModal.tsx @@ -3,8 +3,6 @@ import Modal from "react-modal"; import { getLatestNewsItem, NewsEntry } from "../api"; import { Button } from "reactstrap"; import { FaTimes } from "react-icons/fa"; -import { RootState } from "../rootReducer"; -import { useSelector } from "react-redux"; function DevWarning() { if (process.env.REACT_APP_PRODUCTION === "true") { @@ -31,30 +29,6 @@ function DevWarning() { ); } -function PersistNotice() { - const stateVersion = useSelector( - (state: RootState) => state._persist.version - ); - const saving = useSelector( - (state: RootState) => state.settings.saveShowPlanChanges - ); - if (stateVersion !== 0 || !saving) { - return null; - } - return ( - <> -
- If you encounter any issues with WebStudio, please let the Computing - Team know in #computing on URY Slack. Thanks, and have fun! -
-Loading the news...
)}