Skip to content

Commit

Permalink
Update JS code formatting after prettier upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
thelovekesh committed Aug 17, 2023
1 parent 36a4b44 commit bb489b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ BlockEditWithToolbar.propTypes = {
* Filters the block edit function of all blocks.
*/
export const withAMPToolbarButton = createHigherOrderComponent(
(BlockEdit) => (props) =>
<BlockEditWithToolbar {...props} BlockEdit={BlockEdit} />,
(BlockEdit) => (props) => (
<BlockEditWithToolbar {...props} BlockEdit={BlockEdit} />
),
'BlockEditWithAMPToolbar'
);
11 changes: 5 additions & 6 deletions assets/src/onboarding-wizard/setup-wizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,11 @@ export function SetupWizard({ closeLink, finishLink, appRoot }) {
}, [fetchScannableUrls]);

const PageComponentWithSideEffects = useMemo(
() => () =>
(
<PageComponentSideEffects>
<PageComponent />
</PageComponentSideEffects>
),
() => () => (
<PageComponentSideEffects>
<PageComponent />
</PageComponentSideEffects>
),
// eslint-disable-next-line react-hooks/exhaustive-deps
[PageComponent]
);
Expand Down

0 comments on commit bb489b9

Please sign in to comment.