Skip to content

Commit bbf4a72

Browse files
committed
lint fix
1 parent dc2cf02 commit bbf4a72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/module/src/WidgetLayout/GridLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { columns, breakpoints, droppingElemId, getWidgetIdentifier, extendLayout
2020
export const defaultBreakpoints = breakpoints;
2121

2222
const createSerializableConfig = (config?: WidgetConfiguration) => {
23-
if (!config) return undefined;
23+
if (!config) { return undefined; }
2424
return {
2525
...(config.title && { title: config.title }),
2626
...(config.headerLink && { headerLink: config.headerLink })
@@ -157,7 +157,7 @@ const GridLayout = ({
157157
};
158158

159159
const onDrop = (_layout: readonly LayoutItem[], layoutItem: LayoutItem | undefined, event: Event) => {
160-
if (!layoutItem) return;
160+
if (!layoutItem) { return; }
161161
const dragEvent = event as DragEvent;
162162
const data = dragEvent.dataTransfer?.getData('text') || '';
163163
if (isWidgetType(widgetMapping, data)) {

0 commit comments

Comments
 (0)