Skip to content

Commit 7a90ecd

Browse files
committed
[docs] Small typos
1 parent 37bc18b commit 7a90ecd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/@types/ui-react/docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12070,7 +12070,7 @@
1207012070
* @param listenerDeps An optional array of dependencies for the `listener`
1207112071
* function, which, if any change, result in the re-registration of the
1207212072
* listener. This parameter defaults to an empty array.
12073-
* @param persisterOrSynchronizerId The Synchronizer to be accessed: omit for
12073+
* @param synchronizerOrSynchronizerId The Synchronizer to be accessed: omit for
1207412074
* the default context Synchronizer, provide an Id for a named context
1207512075
* Synchronizer, or provide an explicit reference.
1207612076
* @example

src/ui-react/context.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,9 @@ export const useSynchronizer: typeof useSynchronizerDecl = (
272272
): Synchronizer | undefined => useThing(id, Offsets.Synchronizer);
273273

274274
export const useSynchronizerOrSynchronizerById = (
275-
persisterOrSynchronizerId?: SynchronizerOrSynchronizerId,
275+
synchronizerOrSynchronizerId?: SynchronizerOrSynchronizerId,
276276
): Synchronizer | undefined =>
277-
useThingOrThingById(persisterOrSynchronizerId, Offsets.Synchronizer);
277+
useThingOrThingById(synchronizerOrSynchronizerId, Offsets.Synchronizer);
278278

279279
export const useProvideSynchronizer = (
280280
persisterId: Id,

0 commit comments

Comments
 (0)