mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
Merge pull request #469 from aryankeluskar/model-picker-patch
fix: add button type to ModelSelector and ProjectSelector components
This commit is contained in:
commit
b3d7388f8c
2 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ export function ModelSelector({
|
|||
return (
|
||||
<div className="relative">
|
||||
<Button
|
||||
type="button"
|
||||
variant="ghost"
|
||||
className="flex items-center gap-1.5 px-2 py-1.5 rounded-md transition-colors"
|
||||
onClick={() => !disabled && setIsOpen(!isOpen)}
|
||||
|
|
|
|||
|
|
@ -95,6 +95,7 @@ export function ProjectSelector() {
|
|||
return (
|
||||
<div className="relative">
|
||||
<Button
|
||||
type="button"
|
||||
variant="ghost"
|
||||
className="flex items-center gap-1.5 px-2 py-1.5 rounded-md transition-colors"
|
||||
onClick={() => setIsOpen(!isOpen)}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue