1+ // Copyright 2026 The Chromium Authors. All rights reserved.
2+ // Use of this source code is governed by a BSD-style license that can be
3+ // found in the LICENSE file.
4+
15// Copyright (c) Meta Platforms, Inc. and affiliates.
26// Copyright 2025 The Chromium Authors. All rights reserved.
37// Use of this source code is governed by a BSD-style license that can be
48// found in the LICENSE file.
59
10+ import type * as Common from '../../core/common/common.js' ;
611import * as i18n from '../../core/i18n/i18n.js' ;
712import type * as Platform from '../../core/platform/platform.js' ;
813import * as UI from '../../ui/legacy/legacy.js' ;
9- import * as Common from '../../core/common/common.js' ;
1014
11- import livematePanelStyles from './livematePanel.css.js' ;
1215import {
1316 LivemateModel ,
1417 Events as LivemateModelEvents ,
1518 type EventTypes as LivemateModelEventTypes ,
1619} from './LivemateModel.js' ;
20+ import livematePanelStyles from './livematePanel.css.js' ;
1721import type { ComponentInfo } from './LivemateSpec.js' ;
1822
1923let livematePanelInstance : LivematePanel ;
@@ -35,14 +39,6 @@ const UIStrings = {
3539 * @description Button text for sending to devmate
3640 */
3741 sendToDevmate : 'Send to Devmate' ,
38- /**
39- * @description Loading state message
40- */
41- loading : 'Connecting to React Native...' ,
42- /**
43- * @description Error state message
44- */
45- connectionError : 'Failed to connect to React Native runtime' ,
4642} as const ;
4743
4844const str_ = i18n . i18n . registerUIStrings (
@@ -245,7 +241,7 @@ export class LivematePanel extends UI.View.SimpleView {
245241 } ) ;
246242 }
247243
248- async #sendCommand( ) : Promise < { success : boolean ; output ?: string ; error ?: string } > {
244+ async #sendCommand( ) : Promise < { success : boolean , output ?: string , error ?: string } > {
249245 const input = this . #queryInput;
250246 if ( ! input ) {
251247 return { success : false , error : 'Input not available' } ;
0 commit comments