This repository was archived by the owner on May 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/apps/main/core/common/panel-sidebar/components Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 33 * License, v. 2.0. If a copy of the MPL was not distributed with this
44 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
55
6- import { createSignal , type Accessor } from "solid-js" ;
6+ import { type Accessor , createSignal } from "solid-js" ;
77import { createRootHMR } from "@nora/solid-xul" ;
88import type { Panel } from "../utils/type.ts" ;
99import { getFirefoxSidebarPanels } from "../extension-panels.ts" ;
@@ -86,7 +86,7 @@ export class PanelSidebarAddModal {
8686 private modalParent : ModalParent ;
8787
8888 private texts : Accessor < I18nTextValues > = ( ) => getTranslatedTexts ( ) ;
89- private setTexts : ( value : I18nTextValues ) => void = ( ) => { } ;
89+ private setTexts : ( value : I18nTextValues ) => void = ( ) => { } ;
9090
9191 public static getInstance ( ) {
9292 if ( ! PanelSidebarAddModal . instance ) {
@@ -285,11 +285,10 @@ export class PanelSidebarAddModal {
285285 }
286286
287287 if ( type === "static" ) {
288- const sideBarToolKey =
289- result . sideBarTool as keyof typeof STATIC_PANEL_DATA ;
288+ const sideBarToolKey = result
289+ . sideBarTool as keyof typeof STATIC_PANEL_DATA ;
290290 panel = {
291291 ...panel ,
292- icon : STATIC_PANEL_DATA [ sideBarToolKey ] . icon ,
293292 url : sideBarToolKey ,
294293 } ;
295294 }
You can’t perform that action at this time.
0 commit comments