Skip to content

Commit

Permalink
fix: eslint styles
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox committed Jul 16, 2024
1 parent 8f836ab commit edac36c
Show file tree
Hide file tree
Showing 6 changed files with 164 additions and 243 deletions.
22 changes: 8 additions & 14 deletions packages/renderer/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
import React from 'react';
import {ThemeProvider} from '@mui/material/styles';
import {Container} from 'decentraland-ui2';
import {dark} from 'decentraland-ui2/dist/theme';
import {Home} from '/@/components/Home/Home';
import React from 'react'
import { ThemeProvider } from '@mui/material/styles'
import { Container } from 'decentraland-ui2'
import { dark } from 'decentraland-ui2/dist/theme'
import { Home } from '/@/components/Home/Home'

export const App: React.FC = () => {
return (
<React.StrictMode>
<ThemeProvider theme={dark}>
<Container
id="app-container"
fixed
sx={{display: 'flex', height: '100vh'}}
>
<Container id="app-container" fixed sx={{ display: 'flex', height: '100vh' }}>
<Home />
</Container>
</ThemeProvider>
</React.StrictMode>
);
};

export default App;
)
}
14 changes: 7 additions & 7 deletions packages/renderer/src/components/Home/Home.styles.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {styled, LinearProgress} from 'decentraland-ui2';
import { styled, LinearProgress } from 'decentraland-ui2'

export const Landscape = styled('div')(_props => ({
position: 'absolute',
Expand All @@ -19,16 +19,16 @@ export const Landscape = styled('div')(_props => ({
content: "''",
backgroundColor: 'rgba(0, 0, 0, 0.8)',
mixBlendMode: 'multiply',
pointerEvents: 'none',
pointerEvents: 'none'
},
img: {
width: '100%',
height: '100%',
objectFit: 'cover',
},
}));
objectFit: 'cover'
}
}))

export const LoadingBar = styled(LinearProgress)(props => ({
...props,
width: '450px',
}));
width: '450px'
}))
Loading

0 comments on commit edac36c

Please sign in to comment.