Skip to content

Commit

Permalink
Prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetlath committed Jun 8, 2023
1 parent 3ddc601 commit 57beb1d
Showing 1 changed file with 27 additions and 21 deletions.
48 changes: 27 additions & 21 deletions src/libs/actions/PersonalDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,33 +317,39 @@ function openPersonalDetailsPage() {
* @param {Number} accountID
*/
function openPublicProfilePage(accountID) {
const optimisticData = [{
onyxMethod: Onyx.METHOD.MERGE,
key: ONYXKEYS.PERSONAL_DETAILS_LIST,
value: {
[accountID]: {
isLoading: true,
const optimisticData = [
{
onyxMethod: Onyx.METHOD.MERGE,
key: ONYXKEYS.PERSONAL_DETAILS_LIST,
value: {
[accountID]: {
isLoading: true,
},
},
},
}];
const successData = [{
onyxMethod: Onyx.METHOD.MERGE,
key: ONYXKEYS.PERSONAL_DETAILS_LIST,
value: {
[accountID]: {
isLoading: false,
];
const successData = [
{
onyxMethod: Onyx.METHOD.MERGE,
key: ONYXKEYS.PERSONAL_DETAILS_LIST,
value: {
[accountID]: {
isLoading: false,
},
},
},
}];
const failureData = [{
onyxMethod: Onyx.METHOD.MERGE,
key: ONYXKEYS.PERSONAL_DETAILS_LIST,
value: {
[accountID]: {
isLoading: false,
];
const failureData = [
{
onyxMethod: Onyx.METHOD.MERGE,
key: ONYXKEYS.PERSONAL_DETAILS_LIST,
value: {
[accountID]: {
isLoading: false,
},
},
},
}];
];
API.read('OpenPublicProfilePage', {accountID}, {optimisticData, successData, failureData});
}

Expand Down

0 comments on commit 57beb1d

Please sign in to comment.