diff --git a/web/src/elements/ak-dual-select/stories/ak-dual-select-master.stories.ts b/web/src/elements/ak-dual-select/stories/ak-dual-select-master.stories.ts index 120a3c5b1..0c94ac51b 100644 --- a/web/src/elements/ak-dual-select/stories/ak-dual-select-master.stories.ts +++ b/web/src/elements/ak-dual-select/stories/ak-dual-select-master.stories.ts @@ -26,7 +26,8 @@ Thyme, Tomatillo, Tomato, Turnip, Waterchestnut, Watercress, Watermelon, Yams const keyToPair = (key: string): DualSelectPair => [slug(key), key]; const goodForYou: DualSelectPair[] = goodForYouRaw - .replace("\n", " ") + .split("\n") + .join(" ") .split(",") .map((a: string) => a.trim()) .map(keyToPair);