diff --git a/client/src/components/Input/SubmitButton.jsx b/client/src/components/Input/SubmitButton.jsx index 130350d81..feb3ebf54 100644 --- a/client/src/components/Input/SubmitButton.jsx +++ b/client/src/components/Input/SubmitButton.jsx @@ -26,48 +26,25 @@ export default function SubmitButton({ setSetTokenDialogOpen(true); }; - if (isSubmitting) + if (isSubmitting) { return ( ); - // // previous three dot animation - // return ( - // - // ); - else if (!isTokenProvided && endpoint !== 'openAI') { + } else if (!isTokenProvided && endpoint !== 'openAI') { return ( <> ); + } } {