Skip to content

Commit d8fb34c

Browse files
generatedunixname1899117597419293meta-codesync[bot]
authored andcommitted
fbsource//xplat/js/RKJSModules/Libraries/Relay:Relay
Reviewed By: franklinho Differential Revision: D95194323 fbshipit-source-id: 7f6b37114db92f24ca8db8d785ff7d981d6d1caf
1 parent ca0c7fa commit d8fb34c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/react-relay/ReactRelayRefetchContainer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function createContainerWithFragments<
146146
prevState: ContainerState,
147147
): Partial<ContainerState> | null {
148148
// Any props change could impact the query, so we mirror props in state.
149-
// This is an unusual pattern, but necessary for this container usecase.
149+
// This is an unusual pattern, but necessary for this container use case.
150150
const {prevProps} = prevState;
151151
const relayContext = assertRelayContext(nextProps.__relayContext);
152152
const rootIsQueryRenderer = nextProps.__rootIsQueryRenderer ?? false;
@@ -350,7 +350,7 @@ function createContainerWithFragments<
350350
typeof observerOrCallback === 'function'
351351
? {
352352
error: observerOrCallback,
353-
// callback is not exectued on complete or unsubscribe
353+
// callback is not executed on complete or unsubscribe
354354
// for backward compatibility
355355
next: observerOrCallback,
356356
}
@@ -429,7 +429,7 @@ function createContainerWithFragments<
429429
})
430430
.finally(() => {
431431
// Finalizing a refetch should only clear this._refetchSubscription
432-
// if the finizing subscription is the most recent call.
432+
// if the finalizing subscription is the most recent call.
433433
if (this._refetchSubscription === refetchSubscription) {
434434
this._refetchSubscription = null;
435435
}

0 commit comments

Comments
 (0)