Browse Source

fix(app): enable submit button when comment cards are present

David Hill 1 month ago
parent
commit
02456376ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/components/prompt-input.tsx

+ 1 - 1
packages/app/src/components/prompt-input.tsx

@@ -2013,7 +2013,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
             >
               <IconButton
                 type="submit"
-                disabled={!prompt.dirty() && !working()}
+                disabled={!prompt.dirty() && !working() && commentCount() === 0}
                 icon={working() ? "stop" : "arrow-up"}
                 variant="primary"
                 class="h-6 w-4.5"