mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-06 08:16:03 +00:00
fix: add button type to ModelSelector and ProjectSelector components
This commit is contained in:
parent
2ec20df0ea
commit
6bb81bfaf8
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