diff --git a/apps/techlabblog/components/NavBar/MobileNavBar/MobileNavBar.tsx b/apps/techlabblog/components/NavBar/MobileNavBar/MobileNavBar.tsx index d770af906..7b19c4868 100644 --- a/apps/techlabblog/components/NavBar/MobileNavBar/MobileNavBar.tsx +++ b/apps/techlabblog/components/NavBar/MobileNavBar/MobileNavBar.tsx @@ -31,7 +31,7 @@ const DialogContainer = styled(Dialog)(({ theme: { palette, spacing } }) => ({ }, })); -interface TransitionProps extends SlideProps { } +interface TransitionProps extends SlideProps {} const Transition = React.forwardRef(function Transition( props: TransitionProps, diff --git a/apps/techlabblog/components/NavBar/NavBar.tsx b/apps/techlabblog/components/NavBar/NavBar.tsx index c7a3a7c63..e9131fc94 100644 --- a/apps/techlabblog/components/NavBar/NavBar.tsx +++ b/apps/techlabblog/components/NavBar/NavBar.tsx @@ -28,15 +28,15 @@ function ScrollStyle({ children, sx, ...other }: ScrollStyleProps) { return children ? React.cloneElement(children, { - ...other, - sx: trigger - ? { - ...sx, - backgroundColor: alpha(theme.palette.background.default, 0.95), - borderBottom: `1px solid ${theme.palette.divider}`, - } - : sx, - }) + ...other, + sx: trigger + ? { + ...sx, + backgroundColor: alpha(theme.palette.background.default, 0.95), + borderBottom: `1px solid ${theme.palette.divider}`, + } + : sx, + }) : null; } diff --git a/apps/techlabblog/components/NoPosts/NoPosts.tsx b/apps/techlabblog/components/NoPosts/NoPosts.tsx index e01afbd50..f0db83493 100644 --- a/apps/techlabblog/components/NoPosts/NoPosts.tsx +++ b/apps/techlabblog/components/NoPosts/NoPosts.tsx @@ -30,11 +30,12 @@ const NoPosts = React.forwardRef(function NoPosts() { background: `linear-gradient(to right, 'palette.background.main' 20%, transparent 30%)`, }, [theme.breakpoints.up("md")]: { - background: `linear-gradient(to right, ${theme.palette.background.default - } 30%, transparent 40%, transparent 95%, ${alpha( - theme.palette.background.default, - 0.7, - )} 98%)`, + background: `linear-gradient(to right, ${ + theme.palette.background.default + } 30%, transparent 40%, transparent 95%, ${alpha( + theme.palette.background.default, + 0.7, + )} 98%)`, }, [theme.breakpoints.up("lg")]: { background: `linear-gradient(to right, ${theme.palette.background.default} 30%, transparent 40%, transparent 95%, ${theme.palette.background.default} 99%)`,