From c1bc573dcb0824c383fb991b3f709f5f45d60754 Mon Sep 17 00:00:00 2001
From: "Mr. Algorithm" <11aravipratapsingh@gmail.com>
Date: Sat, 4 Oct 2025 19:49:27 +0530
Subject: [PATCH] Update components/SearchCommand.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---
components/SearchCommand.tsx | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/components/SearchCommand.tsx b/components/SearchCommand.tsx
index 088929b..f7bc62f 100644
--- a/components/SearchCommand.tsx
+++ b/components/SearchCommand.tsx
@@ -57,9 +57,13 @@ export default function SearchCommand({ renderAs = 'button', label = 'Add stock'
return (
<>
{renderAs === 'text' ? (
- setOpen(true)} className="search-text">
+
+
): (