Skip to content

Commit 2809aab

Browse files
committed
fix: formatting
1 parent 44b4a2f commit 2809aab

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

apps/developer-hub/src/components/CopyAddress/index.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { CopyButton } from "@pythnetwork/component-library/CopyButton";
44
import { Link } from "@pythnetwork/component-library/Link";
5-
import { useMemo } from 'react';
5+
import { useMemo } from "react";
66

77
import styles from "./index.module.scss";
88

@@ -22,8 +22,11 @@ const CopyAddress = ({
2222
maxLength?: number;
2323
url?: string;
2424
}) => {
25-
const formattedAddress = useMemo(() => truncate(address, maxLength), [address, maxLength]);
26-
25+
const formattedAddress = useMemo(
26+
() => truncate(address, maxLength),
27+
[address, maxLength],
28+
);
29+
2730
return url ? (
2831
<div className={styles.address}>
2932
<Link href={url} target="_blank" rel="noreferrer">

apps/developer-hub/src/components/Root/fumadocs-global-style-overrides.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ Overrides for Fumadocs content. Everything after prose is MDX generated content
2525
}
2626

2727
#nd-sidebar {
28-
--fd-sidebar-top: var(--header-height) !important;
29-
}
28+
--fd-sidebar-top: var(--header-height) !important;
29+
}

apps/developer-hub/src/components/Root/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
@import "fumadocs-ui/css/neutral.css";
33
@import "fumadocs-ui/css/preset.css";
44
@import "./theme.css";
5-
@import "./fumadocs-global-style-overrides.css";
5+
@import "./fumadocs-global-style-overrides.css";

0 commit comments

Comments
 (0)