diff --git a/web/components/editor.tsx b/web/components/editor.tsx index 963cea7e..7904b93f 100644 --- a/web/components/editor.tsx +++ b/web/components/editor.tsx @@ -181,13 +181,17 @@ export function TextEditor(props: { Embed an iframe + {upload.isLoading && ( + Uploading image... + )} + {upload.isError && ( + + Error uploading image :( + + )} - {upload.isLoading && Uploading image...} - {upload.isError && ( - Error uploading image :( - )} ) }