Spaces:
Running

axeronis commited on
Commit
8ad92f2
·
1 Parent(s): 9e44e54

fix: remove Buy button from demo chat product cards

Browse files
Files changed (1) hide show
  1. frontend/components/DemoChat.tsx +1 -4
frontend/components/DemoChat.tsx CHANGED
@@ -56,11 +56,8 @@ function formatAIMessage(content: string) {
56
  )}
57
  <p className="text-sm font-medium text-white line-clamp-2">{name}</p>
58
  <p className="text-xs text-indigo-400 font-bold mt-1">{price}</p>
59
- <button className="w-full mt-2 py-1.5 bg-indigo-600 hover:bg-indigo-500 text-white text-xs rounded-lg transition-colors flex items-center justify-center gap-1">
60
- <ShoppingBag className="w-3 h-3" />
61
- Купить
62
- </button>
63
  </div>
 
64
  )
65
  cleanContent = cleanContent.replace(tag, '').trim()
66
  })
 
56
  )}
57
  <p className="text-sm font-medium text-white line-clamp-2">{name}</p>
58
  <p className="text-xs text-indigo-400 font-bold mt-1">{price}</p>
 
 
 
 
59
  </div>
60
+
61
  )
62
  cleanContent = cleanContent.replace(tag, '').trim()
63
  })