Skip to content

Commit 16f776a

Browse files
committed
update setup
1 parent 6766522 commit 16f776a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/frontend_react/src/components/toast/InlineToaster.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const InlineToaster: React.FC = () => {
140140
{getIconForIntent(toast.intent)}
141141
</span>
142142
<Body1>{toast.content}</Body1>
143-
{toast.dismissible && (
143+
{(toast.dismissible || toast.intent === "progress") && (
144144
<button
145145
onClick={() => _setToasts?.((prev) => prev.filter((t) => t.id !== toast.id))}
146146
style={{

src/frontend_react/src/pages/PlanPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ const PlanPage: React.FC = () => {
7474
// Accept chat input and submit clarification
7575
const handleOnchatSubmit = useCallback(
7676
async (chatInput: string) => {
77+
setInput("");
7778
console.log('handleOnchatSubmit called with input:', chatInput);
7879
if (!chatInput.trim()) {
7980
showToast("Please enter a clarification", "error");

0 commit comments

Comments
 (0)