Skip to content

Commit be0133c

Browse files
authored
Fix HookApply example (#75)
1 parent 7c85104 commit be0133c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/React/Basic/Hooks/Internal.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,6 @@ type HookApply hooks (newHook :: Type -> Type)
191191
--| order they appear when actually used in do-notation.
192192
--| ```purescript
193193
--| type UseCustomHook hooks = UseEffect String (UseState Int hooks)
194-
--| type UseCustomHook' = UseState Int & UseEffect String
194+
--| type UseCustomHook' hooks = hooks & UseState Int & UseEffect String
195195
--| ```
196196
infixl 0 type HookApply as &

0 commit comments

Comments
 (0)