aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/src/components/LoginForm.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/src/components/LoginForm.js b/src/web/src/components/LoginForm.js
index 44043ddb..a71e6b1a 100644
--- a/src/web/src/components/LoginForm.js
+++ b/src/web/src/components/LoginForm.js
@@ -12,6 +12,7 @@ const initialState = {
const LoginForm = ({ onLoginAttempt, loading, error }) => {
const [state, setState] = useState(initialState);
const [ready, setReady] = useState(false);
+ const logo = useMemo(() => Logos[Math.floor(Math.random() * Logos.length)], []);
useEffect(() => {
if (state.username !== '' && state.password !== '') {