Remove a lot of Box components, replace sx with style, move from npm to pnpm, etc...

This commit is contained in:
Prayag Prajapati committed 2023-09-11 15:16:54 +05:30
1 parent 5c425b65c6
commit 5caa9b084f
20 files changed
+2472 -3468

No files matched your search

+8 -10
View File
@@ -10,8 +10,6 @@ import { getUser, delUser } from "../../utils/storage/user";
import "./home.module.scss";
import Box from "@mui/material/Box";
import Carousel from "../../components/carousel";
// Custom Components
@@ -207,12 +205,12 @@ const Home = () => {
return (
<>
<Box
<div
component="main"
className="scrollY home"
sx={{
style={{
flexGrow: 1,
pb: 3,
paddingBottom: "3em",
position: "relative",
}}
>
@@ -243,10 +241,10 @@ const Home = () => {
}}
/>
)}
<Box
<div
className="padded-container"
sx={{
px: 3,
style={{
padding: "3em",
}}
>
{libraries.isLoading ? (
@@ -503,8 +501,8 @@ const Home = () => {
/>
);
})}
</Box>
</Box>
</div>
</div>
</>
);
};