Skip to content

Commit

Permalink
Instant curtain review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
midas-myth committed Dec 19, 2024
1 parent 681553d commit 2c50cde
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/components/Footer/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
border-top: 1px solid var(--color-gray-950);
}

.Footer-wrapper.mobile-trade-page {
padding-bottom: 52px;
}

.Footer-logo {
margin-bottom: 2.4rem;
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Footer({ showRedirectModal, redirectPopupTimestamp, isMo

return (
<>
<div className={cx("Footer-wrapper", { home: isHome, "mobile-trade-page": isMobileTradePage })}>
<div className={cx("Footer-wrapper", { home: isHome, "pb-52": isMobileTradePage })}>
<div className="Footer-logo">
<img src={logoImg} alt="MetaMask" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Synthetics/TradeBox/Curtain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ export function Curtain({

const headerClick = useCallback(() => {
setIsOpen(true);
}, []);
}, [setIsOpen]);

const handleClick = useCallback(() => {
setIsOpen((prev) => !prev);
}, []);
}, [setIsOpen]);

return (
<>
Expand Down
1 change: 0 additions & 1 deletion src/components/Synthetics/TradeBox/TradeBoxHeaderTabs.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { msg } from "@lingui/macro";
import cx from "classnames";
import { useCallback } from "react";
import { useHistory } from "react-router-dom";

Expand Down

0 comments on commit 2c50cde

Please sign in to comment.