From dfb0c05ab33cb20537002eaeb896e6b2ab35af25 Mon Sep 17 00:00:00 2001
From: nexxeln <95541290+nexxeln@users.noreply.github.com>
Date: Tue, 2 Dec 2025 18:37:24 +0000
Subject: add spaces selector with search (#600)

relevant files to review:
\- memory-graph.tsx
\- spaces-dropdown.tsx
\- spaces-dropdown.css.ts
---
 packages/memory-graph/src/ui/button.tsx | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

(limited to 'packages/memory-graph/src/ui/button.tsx')

diff --git a/packages/memory-graph/src/ui/button.tsx b/packages/memory-graph/src/ui/button.tsx
index 031f2cc8..89015299 100644
--- a/packages/memory-graph/src/ui/button.tsx
+++ b/packages/memory-graph/src/ui/button.tsx
@@ -1,6 +1,6 @@
-import { Slot } from "@radix-ui/react-slot";
-import type * as React from "react";
-import { button, type ButtonVariants } from "./button.css";
+import { Slot } from "@radix-ui/react-slot"
+import type * as React from "react"
+import { button, type ButtonVariants } from "./button.css"
 
 function Button({
 	className,
@@ -10,21 +10,15 @@ function Button({
 	...props
 }: React.ComponentProps<"button"> &
 	ButtonVariants & {
-		asChild?: boolean;
+		asChild?: boolean
 	}) {
-	const Comp = asChild ? Slot : "button";
+	const Comp = asChild ? Slot : "button"
 
 	const combinedClassName = className
 		? `${button({ variant, size })} ${className}`
-		: button({ variant, size });
+		: button({ variant, size })
 
-	return (
-		<Comp
-			className={combinedClassName}
-			data-slot="button"
-			{...props}
-		/>
-	);
+	return <Comp className={combinedClassName} data-slot="button" {...props} />
 }
 
-export { Button, button as buttonVariants };
+export { Button, button as buttonVariants }
-- 
cgit v1.2.3

