wu981526092 commited on
Commit
884d705
·
1 Parent(s): a5ca4cb

Fix TypeScript warning in AssistantCard component

Browse files
Files changed (1) hide show
  1. frontend/src/pages/Models.tsx +1 -3
frontend/src/pages/Models.tsx CHANGED
@@ -487,14 +487,12 @@ function AssistantCard({
487
  assistant,
488
  onUse,
489
  onDelete,
490
- onShare,
491
- type = "personal"
492
  }: {
493
  assistant: any
494
  onUse: () => void
495
  onDelete: () => void
496
  onShare: () => void
497
- type?: "personal" | "community"
498
  }) {
499
  return (
500
  <Card className="hover:shadow-md transition-shadow">
 
487
  assistant,
488
  onUse,
489
  onDelete,
490
+ onShare
 
491
  }: {
492
  assistant: any
493
  onUse: () => void
494
  onDelete: () => void
495
  onShare: () => void
 
496
  }) {
497
  return (
498
  <Card className="hover:shadow-md transition-shadow">