diff --git a/packages/react/src/components/BatchProvider/useQueue.ts b/packages/react/src/components/BatchProvider/useQueue.ts index 06d9e235..4170fa7b 100644 --- a/packages/react/src/components/BatchProvider/useQueue.ts +++ b/packages/react/src/components/BatchProvider/useQueue.ts @@ -43,7 +43,7 @@ export function useQueue(runQueue: (items: QueueItem[]) => void) { queue.reset(); } - // Beacuse we're using reactive state to trigger this effect, we need to flip + // Because we're using reactive state to trigger this effect, we need to flip // it back to false. setShouldFlush(false); }, [shouldFlush]); diff --git a/packages/react/src/components/StoreUpdater/index.tsx b/packages/react/src/components/StoreUpdater/index.tsx index 120db624..cac8df0e 100644 --- a/packages/react/src/components/StoreUpdater/index.tsx +++ b/packages/react/src/components/StoreUpdater/index.tsx @@ -1,5 +1,5 @@ /* - * This component helps us to update the store with the vlues coming from the user. + * This component helps us to update the store with the values coming from the user. * We distinguish between values we can update directly with `useDirectStoreUpdater` (like `snapGrid`) * and values that have a dedicated setter function in the store (like `setNodes`). */