From c9c13a6fa532354577718e6d51ee482bc8898806 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 22 Oct 2019 07:46:48 +0800 Subject: [PATCH] docs: fix typo in MIGRATION (inadverttly -> inadvertently) (#8497) docs: fix typo in MIGRATION (inadverttly -> inadvertently) --- MIGRATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MIGRATION.md b/MIGRATION.md index 827dd41b396d..456b977cb012 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -107,7 +107,7 @@ This isn't a breaking change per se, because `addon-docs` is a new feature. Howe ### storySort option -In 5.0.x the global option `sortStoriesByKind` option was [inadverttly removed](#sortstoriesbykind). In 5.2 we've introduced a new option, `storySort`, to replace it. `storySort` takes a comparator function, so it is strictly more powerful than `sortStoriesByKind`. +In 5.0.x the global option `sortStoriesByKind` option was [inadvertently removed](#sortstoriesbykind). In 5.2 we've introduced a new option, `storySort`, to replace it. `storySort` takes a comparator function, so it is strictly more powerful than `sortStoriesByKind`. For example, here's how to sort by story ID using `storySort`: