Merge pull request #814 from bluewave-labs/feat/demo-features

Feat/demo features
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-09-06 22:07:03 -07:00
commit d117f38a83
8 files changed
+44 -28

No files matched your search

+3 -2
View File
@@ -15,6 +15,7 @@ import ArrowBackRoundedIcon from "@mui/icons-material/ArrowBackRounded";
import PropTypes from "prop-types";
import { logger } from "../../Utils/Logger";
import "./index.css";
const DEMO = import.meta.env.VITE_APP_DEMO;
/**
* Displays the initial landing page.
@@ -327,8 +328,8 @@ const Login = () => {
};
const [form, setForm] = useState({
email: "",
password: "",
email: DEMO !== undefined ? "uptimedemo@demo.com" : "",
password: DEMO !== undefined ? "Demouser1!" : "",
});
const [errors, setErrors] = useState({});
const [step, setStep] = useState(0);