From 76a136abc9f2734ee2b67c8ffc18b9551ca80920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Verstraeten?= Date: Mon, 9 Mar 2026 21:34:17 +0100 Subject: [PATCH] Add trailing commas to fallback calls Add trailing commas to the arguments passed to fallbackToSDLiveview in ui/src/pages/Dashboard/Dashboard.jsx. This is a non-functional formatting change applied to the WebRTC initialization, ICE candidate handling, and connection-state fallback calls to align with the project's code style/formatter. --- ui/src/pages/Dashboard/Dashboard.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/pages/Dashboard/Dashboard.jsx b/ui/src/pages/Dashboard/Dashboard.jsx index e731eba..50877ba 100644 --- a/ui/src/pages/Dashboard/Dashboard.jsx +++ b/ui/src/pages/Dashboard/Dashboard.jsx @@ -339,7 +339,7 @@ class Dashboard extends React.Component { }); } catch (error) { this.fallbackToSDLiveview( - `Unable to initialise WebRTC liveview: ${error.message}` + `Unable to initialise WebRTC liveview: ${error.message}`, ); } } @@ -359,7 +359,7 @@ class Dashboard extends React.Component { await this.webrtcPeerConnection.addIceCandidate(candidateInit); } catch (error) { this.fallbackToSDLiveview( - `Unable to add remote ICE candidate: ${error.message}` + `Unable to add remote ICE candidate: ${error.message}`, ); return; } @@ -421,7 +421,7 @@ class Dashboard extends React.Component { connectionState === 'closed' ) { this.fallbackToSDLiveview( - `WebRTC connection ${connectionState}, falling back to SD liveview.` + `WebRTC connection ${connectionState}, falling back to SD liveview.`, ); } };