diff options
| author | nexxeln <[email protected]> | 2025-12-02 18:37:24 +0000 |
|---|---|---|
| committer | nexxeln <[email protected]> | 2025-12-02 18:37:24 +0000 |
| commit | dfb0c05ab33cb20537002eaeb896e6b2ab35af25 (patch) | |
| tree | 49ecaa46903671d96f2f9ebc5af688ab2ea2c7bd /packages/memory-graph/src/ui/heading.tsx | |
| parent | Fix: Update discord links in README.md and CONTRIBUTING.md (#598) (diff) | |
| download | supermemory-update-memory-graph.tar.xz supermemory-update-memory-graph.zip | |
add spaces selector with search (#600)update-memory-graph
relevant files to review:
\- memory-graph.tsx
\- spaces-dropdown.tsx
\- spaces-dropdown.css.ts
Diffstat (limited to 'packages/memory-graph/src/ui/heading.tsx')
| -rw-r--r-- | packages/memory-graph/src/ui/heading.tsx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/packages/memory-graph/src/ui/heading.tsx b/packages/memory-graph/src/ui/heading.tsx index 65e8abc8..ed9b80ef 100644 --- a/packages/memory-graph/src/ui/heading.tsx +++ b/packages/memory-graph/src/ui/heading.tsx @@ -1,18 +1,16 @@ -import { Root } from "@radix-ui/react-slot"; -import { headingH3Bold } from "./heading.css"; +import { Root } from "@radix-ui/react-slot" +import { headingH3Bold } from "./heading.css" export function HeadingH3Bold({ className, asChild, ...props }: React.ComponentProps<"h3"> & { asChild?: boolean }) { - const Comp = asChild ? Root : "h3"; + const Comp = asChild ? Root : "h3" const combinedClassName = className ? `${headingH3Bold} ${className}` - : headingH3Bold; + : headingH3Bold - return ( - <Comp className={combinedClassName} {...props} /> - ); + return <Comp className={combinedClassName} {...props} /> } |