Remove disable upgrade check bool
This commit is contained in:
parent
3790aba34f
commit
ed80ac13b5
@ -81,7 +81,7 @@ export default function MainLayout(props) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!performedUpgradeCheck && !context.disableUpgradeChecks) {
|
if (!performedUpgradeCheck) {
|
||||||
checkForUpgrade();
|
checkForUpgrade();
|
||||||
performedUpgradeCheck = true
|
performedUpgradeCheck = true
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,6 @@ const initialServerStatusState = {
|
|||||||
sessionMaxViewerCount: 0,
|
sessionMaxViewerCount: 0,
|
||||||
sessionPeakViewerCount: 0,
|
sessionPeakViewerCount: 0,
|
||||||
overallPeakViewerCount: 0,
|
overallPeakViewerCount: 0,
|
||||||
disableUpgradeChecks: true,
|
|
||||||
versionNumber: '0.0.0',
|
versionNumber: '0.0.0',
|
||||||
streamTitle: '',
|
streamTitle: '',
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user