Browse Source

fix: formatting

Alexandru Cambose 2 months ago
parent
commit
2809aab6db

+ 6 - 3
apps/developer-hub/src/components/CopyAddress/index.tsx

@@ -2,7 +2,7 @@
 
 import { CopyButton } from "@pythnetwork/component-library/CopyButton";
 import { Link } from "@pythnetwork/component-library/Link";
-import { useMemo } from 'react';
+import { useMemo } from "react";
 
 import styles from "./index.module.scss";
 
@@ -22,8 +22,11 @@ const CopyAddress = ({
   maxLength?: number;
   url?: string;
 }) => {
-  const formattedAddress = useMemo(() => truncate(address, maxLength), [address, maxLength]);
-  
+  const formattedAddress = useMemo(
+    () => truncate(address, maxLength),
+    [address, maxLength],
+  );
+
   return url ? (
     <div className={styles.address}>
       <Link href={url} target="_blank" rel="noreferrer">

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

@@ -25,5 +25,5 @@ Overrides for Fumadocs content. Everything after prose is MDX generated content
 }
 
 #nd-sidebar {
-   --fd-sidebar-top: var(--header-height) !important;
-}
+  --fd-sidebar-top: var(--header-height) !important;
+}

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

@@ -2,4 +2,4 @@
 @import "fumadocs-ui/css/neutral.css";
 @import "fumadocs-ui/css/preset.css";
 @import "./theme.css";
-@import "./fumadocs-global-style-overrides.css";
+@import "./fumadocs-global-style-overrides.css";