Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyie committed Feb 12, 2024
1 parent 64537bd commit aceac80
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/chrome/src/devtools/panel/panel.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Panel from '@lib/pages/index';
import { createRoot } from 'react-dom/client';

/**
/**
* Thanks pixi-inspector for this snippet
* https://github.com/bfanger/pixi-inspector
*/
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/src/inject/utils/loop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ function loopRecursive(container: Container, opts: Omit<LoopOptions, 'container'
for (let i = 0; i < container.children.length; i++) {
loopRecursive(container.children[i], opts);
}
}
}
7 changes: 1 addition & 6 deletions src/lib/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,7 @@ const Panel: React.FC<PanelProps> = ({ bridge }) => {
<Root defaultValue="tab1">
<List aria-label="Manage your application">
{tabs.map((tab) => (
<Trigger
key={tab.value}
value={tab.value}
aria-label={tab.label}
disabled={tab.disabled}
>
<Trigger key={tab.value} value={tab.value} aria-label={tab.label} disabled={tab.disabled}>
{tab.label}
</Trigger>
))}
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"baseUrl": ".",
"paths": {
"@chrome/*": ["src/chrome/*"],
"@lib/*": ["src/lib/*"],
"@lib/*": ["src/lib/*"]
}
},
"include": ["src", "global.d.ts"]
Expand Down

0 comments on commit aceac80

Please sign in to comment.