diff --git a/frontend/src/Components/Loading/LoadingMessage.js b/frontend/src/Components/Loading/LoadingMessage.js index 1f7515ca7..a4ca95beb 100644 --- a/frontend/src/Components/Loading/LoadingMessage.js +++ b/frontend/src/Components/Loading/LoadingMessage.js @@ -22,9 +22,13 @@ const messages = [ 'Loading Battlestation' ]; +let message = null; + function LoadingMessage() { - const index = Math.floor(Math.random() * messages.length); - const message = messages[index]; + if (!message) { + const index = Math.floor(Math.random() * messages.length); + message = messages[index]; + } return (