Skip to content

Commit

Permalink
Fix: prevent flash of "Untitled" when loading a document w/ preview (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbonial authored Sep 18, 2024
1 parent 2de06de commit b7f0135
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const FormView = forwardRef<HTMLDivElement, FormViewProps>(function FormV
>
<PresenceOverlay margins={margins}>
<Box as="form" onSubmit={preventDefault} ref={setRef}>
{connectionState === 'connecting' ? (
{connectionState === 'connecting' || !ready ? (
<Delay ms={300}>
{/* TODO: replace with loading block */}
<Flex align="center" direction="column" height="fill" justify="center">
Expand Down

0 comments on commit b7f0135

Please sign in to comment.