From dddee25760f3068709444197652393bbe5080415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Avic=20Simmons?= Date: Fri, 23 Oct 2026 03:47:40 -0400 Subject: [PATCH] docs: fix typos in TimeInput comments and Welcome story MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Léon Avic Simmons --- .storybook/stories/Welcome.stories.js | 2 +- src/components/Input/TimeInput.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.storybook/stories/Welcome.stories.js b/.storybook/stories/Welcome.stories.js index 24d1f20b4..079ffaa0a 100644 --- a/.storybook/stories/Welcome.stories.js +++ b/.storybook/stories/Welcome.stories.js @@ -68,7 +68,7 @@ export const HelpAndContributing = () => ( GitHub issue

- For the component roadmap, status, and ideas, please the{' '} + For the component roadmap, status, and ideas, please see the{' '} GitHub project board

diff --git a/src/components/Input/TimeInput.js b/src/components/Input/TimeInput.js index 0c9d6bb13..d4075e299 100644 --- a/src/components/Input/TimeInput.js +++ b/src/components/Input/TimeInput.js @@ -173,18 +173,18 @@ export default class TimeInput extends React.Component { return false; } - // only show times on step if we havent started to type minutes + // only show times on step if we haven't started to type minutes if (!hasTypedTens && !onInterval(time, step)) { return false; } - // only show times on step or on 10 min intervals if we havent finished typing minutes + // only show times on step or on 10 min intervals if we haven't finished typing minutes if (!hasTypedMin && !onInterval(time, step) && !onInterval(time, 10)) { return false; } const labelCandidate = flow( - // Remove colon from option if input doesnt have one + // Remove colon from option if input doesn't have one (str) => (inputCandidate.includes(':') ? str : str.replace(/:/gi, '')), removeWhitespace, removeLeadingZeros,