Refactor IOView component

This commit is contained in:
anovazzi1 2024-03-01 18:09:43 -03:00
commit fb433d90d9

View file

@ -308,7 +308,9 @@ export default function IOView({ children, open, setOpen }): JSX.Element {
<div className="absolute bottom-8 right-8"></div> <div className="absolute bottom-8 right-8"></div>
)} )}
</div> </div>
{!haveChat && ( </div>
</BaseModal.Content>
<BaseModal.Footer>{!haveChat && (
<div className="flex w-full justify-end pt-6"> <div className="flex w-full justify-end pt-6">
<Button <Button
variant={"outline"} variant={"outline"}
@ -327,9 +329,8 @@ export default function IOView({ children, open, setOpen }): JSX.Element {
Run Flow Run Flow
</Button> </Button>
</div> </div>
)} )}
</div> </BaseModal.Footer>
</BaseModal.Content>
</BaseModal> </BaseModal>
); );
} }