Skip to content

Commit fbdd2da

Browse files
committed
Fix warnings and generate docs
1 parent 75bc88b commit fbdd2da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/React.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ Read the component state.
297297
#### `transformState`
298298

299299
``` purescript
300-
transformState :: forall props state eff. ReactThis props state -> (state -> state) -> Eff (state :: ReactState ReadWrite | eff) state
300+
transformState :: forall props state eff. ReactThis props state -> (state -> state) -> Eff (state :: ReactState ReadWrite | eff) Unit
301301
```
302302

303303
Transform the component state by applying a function.

src/React.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module React
6161
, createFactory
6262
) where
6363

64-
import Prelude (Unit(), ($), bind, pure, return, unit)
64+
import Prelude (Unit(), pure, return, unit)
6565

6666
import Control.Monad.Eff (Eff())
6767

0 commit comments

Comments
 (0)