From decce5e1fc4fe7129dfdd845097f4c2fa7deab36 Mon Sep 17 00:00:00 2001 From: justinwoo Date: Thu, 8 Nov 2018 22:40:23 +0200 Subject: [PATCH] fix typo in docs --- generated-docs/React/Basic.md | 2 +- src/React/Basic.purs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generated-docs/React/Basic.md b/generated-docs/React/Basic.md index 4632e99..44b56cb 100644 --- a/generated-docs/React/Basic.md +++ b/generated-docs/React/Basic.md @@ -32,7 +32,7 @@ and will emit a warning. - `didUpdate` - The React component's `componentDidUpdate` lifecycle. Rarely necessary. - `willUnmount` - - The React component's `componentWillUpdate` lifecycle. Any subscriptions or timers created in `didMount` or `didUpdate` should be disposed of here. + - The React component's `componentWillUnmount` lifecycle. Any subscriptions or timers created in `didMount` or `didUpdate` should be disposed of here. The component spec is generally not exported from your component module and this type is rarely used explicitly. `make` will validate whether diff --git a/src/React/Basic.purs b/src/React/Basic.purs index 8252eb8..fc0f5d1 100644 --- a/src/React/Basic.purs +++ b/src/React/Basic.purs @@ -65,7 +65,7 @@ import Type.Row (class Union) -- | - `didUpdate` -- | - The React component's `componentDidUpdate` lifecycle. Rarely necessary. -- | - `willUnmount` --- | - The React component's `componentWillUpdate` lifecycle. Any subscriptions or timers created in `didMount` or `didUpdate` should be disposed of here. +-- | - The React component's `componentWillUnmount` lifecycle. Any subscriptions or timers created in `didMount` or `didUpdate` should be disposed of here. -- | -- | The component spec is generally not exported from your component -- | module and this type is rarely used explicitly. `make` will validate whether