change button disabled color

This commit is contained in:
2023-03-14 22:04:57 +08:00
parent def3ec89fd
commit ba363c0a63

View File

@@ -311,7 +311,7 @@ export function App() {
placeholder="Type here..." placeholder="Type here..."
></textarea> ></textarea>
<button <button
className="rounded m-1 p-1 border-2 border-rose-400 bg-cyan-400 hover:bg-cyan-600" className="disabled:line-through disabled:bg-slate-500 rounded m-1 p-1 border-2 bg-cyan-400 hover:bg-cyan-600"
disabled={showGenerating || !chatStore.apiKey} disabled={showGenerating || !chatStore.apiKey}
onClick={() => { onClick={() => {
send(); send();