Skip to content

Commit

Permalink
[lib] Fix typo
Browse files Browse the repository at this point in the history
Summary: Fix typo

Test Plan: N/A

Reviewers: tomek

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D8747
  • Loading branch information
MichalGniadek committed Aug 7, 2023
1 parent 72a3200 commit 6d543f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/socket/socket.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -532,12 +532,12 @@ class Socket extends React.PureComponent<Props, State> {
const messageID = this.nextClientMessageID++;
const promises = {};

const shouldSendinitialPlatformDetails = !_isEqual(
const shouldSendInitialPlatformDetails = !_isEqual(
this.props.lastCommunicatedPlatformDetails,
)(getConfig().platformDetails);

const clientResponses = [];
if (shouldSendinitialPlatformDetails) {
if (shouldSendInitialPlatformDetails) {
clientResponses.push({
type: serverRequestTypes.PLATFORM_DETAILS,
platformDetails: getConfig().platformDetails,
Expand Down Expand Up @@ -579,7 +579,7 @@ class Socket extends React.PureComponent<Props, State> {
promises,
);

if (shouldSendinitialPlatformDetails) {
if (shouldSendInitialPlatformDetails) {
this.props.dispatch({
type: updateLastCommunicatedPlatformDetailsActionType,
payload: { [this.props.urlPrefix]: getConfig().platformDetails },
Expand Down

0 comments on commit 6d543f1

Please sign in to comment.