chore: fix typo
This commit is contained in:
@@ -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`).
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user