From f17350ae1d8dd428fe6ce03024e30a18ca83b508 Mon Sep 17 00:00:00 2001
From: Mats Auraot <10709682+Mindgamesnl@users.noreply.github.com>
Date: Sat, 7 Dec 2024 23:54:18 +0100
Subject: [PATCH] always show page
---
client/src/views/client/ClientView.jsx | 4 +++-
client/src/views/client/pages/voice/VoicePage.jsx | 2 --
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/client/src/views/client/ClientView.jsx b/client/src/views/client/ClientView.jsx
index 3c003e00ac..bb51503e7a 100644
--- a/client/src/views/client/ClientView.jsx
+++ b/client/src/views/client/ClientView.jsx
@@ -45,7 +45,7 @@ function ClientView(props) {
/>
}
content={}
subtext={props.voicePeerCount > 0 ? `${props.voicePeerCount} ${
@@ -100,6 +100,8 @@ function mapStateToProps(state) {
fixedFooter: state.fixedFooter,
loadingOverlay: state.loadingOverlay,
voiceReady: state.voiceState.ready,
+ voiceLoading: state.voiceState.loading,
+ voiceError: state.voiceState.failedGeneric,
voicePeerCount: Object.keys(state.voiceState.peers).length,
browserSupportIsLimited: state.browserSupportIsLimited,
navbarDetails: state.navbarDetails,
diff --git a/client/src/views/client/pages/voice/VoicePage.jsx b/client/src/views/client/pages/voice/VoicePage.jsx
index 7f9e4d831a..5b039a3372 100644
--- a/client/src/views/client/pages/voice/VoicePage.jsx
+++ b/client/src/views/client/pages/voice/VoicePage.jsx
@@ -1,4 +1,3 @@
-/* eslint-disable */
import React from 'react';
import { connect } from 'react-redux';
import {
@@ -125,7 +124,6 @@ function ActionCard({
}
function VoicePage({ voiceState, color }) {
-
if (voiceState.failedGeneric) {
return ;
}