Skip to content

Commit

Permalink
update lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyie committed May 29, 2024
1 parent 97dd3e0 commit b27414a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- name: Install Dependencies
run: npm ci

- name: Test Lint
run: npm run lint

- name: Test Types
run: npm run types

Expand Down
2 changes: 1 addition & 1 deletion packages/devtool-chrome/src/inject/scene/tree/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class Tree {
}

private _getName(container: Container, type: PixiNodeType) {
if(type === 'Unknown') {
if (type === 'Unknown') {
type = container.constructor.name as PixiNodeType;
}

Expand Down
5 changes: 1 addition & 4 deletions packages/devtool-local/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ const mockBridge: BridgeFn = (code): Promise<any> => {

ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<div
id="root"
style={{ display: 'flex', flexDirection: 'column', maxHeight: '100vh', alignItems: 'center' }}
>
<div id="root" style={{ display: 'flex', flexDirection: 'column', maxHeight: '100vh', alignItems: 'center' }}>
<canvas id="canvas" style={{ width: '600px', height: '450px' }} />
<div style={{ width: '100%', height: '100%', overflow: 'hidden' }}>
<App bridge={mockBridge} chromeProxy={mockChrome} />
Expand Down

0 comments on commit b27414a

Please sign in to comment.