Merge pull request #4482 from dongtc/dev/typo

chore: fix typo
This commit is contained in:
Moritz Klack
2024-07-30 14:23:05 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -43,7 +43,7 @@ export function useQueue<T>(runQueue: (items: QueueItem<T>[]) => void) {
queue.reset(); 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. // it back to false.
setShouldFlush(false); setShouldFlush(false);
}, [shouldFlush]); }, [shouldFlush]);
@@ -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`) * 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`). * and values that have a dedicated setter function in the store (like `setNodes`).
*/ */