Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-manuilov authored Oct 2, 2024
1 parent 22309aa commit 5cc6da8
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ function getRootMargin( breakpoint ) {
return `${ -top }px ${ -gap }px ${ -gap }px ${ -gap }px`;
}

/* eslint-disable complexity */
export default function WidgetAreaRenderer( { slug, contextID } ) {
const viewOnlyDashboard = useViewOnly();

Expand Down Expand Up @@ -301,7 +300,6 @@ export default function WidgetAreaRenderer( { slug, contextID } ) {
</InViewProvider>
);
}
/* eslint-enable complexity */

WidgetAreaRenderer.propTypes = {
slug: PropTypes.string.isRequired,
Expand Down

0 comments on commit 5cc6da8

Please sign in to comment.