diff --git a/packages/solid/README.md b/packages/solid/README.md index f115b22ec..bbefab31d 100644 --- a/packages/solid/README.md +++ b/packages/solid/README.md @@ -104,7 +104,7 @@ import { createSignal } from "solid-js"; // A component is just a function that (optionally) accepts properties and returns a DOM node const Counter = props => { - // Create a piece of reactive state, giving us a accessor, count(), and a setter, setCount() + // Create a piece of reactive state, giving us an accessor, count(), and a setter, setCount() const [count, setCount] = createSignal(props.startingCount || 1); // The increment function calls the setter diff --git a/packages/solid/src/reactive/signal.ts b/packages/solid/src/reactive/signal.ts index a7b4995ef..12b782fe7 100644 --- a/packages/solid/src/reactive/signal.ts +++ b/packages/solid/src/reactive/signal.ts @@ -1226,7 +1226,7 @@ export type ChildrenReturn = Accessor & { toArray: () => Resol * Resolves child elements to help interact with children * * @param fn an accessor for the children - * @returns a accessor of the same children, but resolved + * @returns an accessor of the same children, but resolved * * @description https://docs.solidjs.com/reference/component-apis/children */