We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1660eb commit 8665fe0Copy full SHA for 8665fe0
README.md
@@ -60,7 +60,9 @@ hoistReaderT ::
60
forall props state action env m.
61
HaloM props state action (ReaderT env m) ~>
62
ReaderT env (HaloM props state action m)
63
-hoistReaderT x = ReaderT \env -> Halo.hoist (flip runReaderT env) x
+hoistReaderT x = do
64
+ env <- ask
65
+ lift (Halo.hoist (flip runReaderT env) x)
66
```
67
68
### Working with props
0 commit comments