Commit 8fe6cfb
committed
🤖 fix: initialize ORPCProvider in connected state when client prop provided
Fixes Storybook tests failing in CI. When a client prop is passed to
ORPCProvider, the component now starts in "connected" state immediately
instead of waiting for useEffect. This prevents a flash of null content
that caused tests to see an empty storybook-root div.
Change-Id: I048104e7f2fe434efcf9b50db0bae445d912b014
Signed-off-by: Thomas Kosiewski <tk@coder.com>1 parent eeaa91d commit 8fe6cfb
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
74 | 83 | | |
75 | 84 | | |
76 | 85 | | |
| |||
0 commit comments