Skip to content

Commit 0f6a141

Browse files
committed
fix programming style
1 parent 374a43e commit 0f6a141

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

client/admin/FileDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function FileDetails(props) {
1313
return subtitle.innerHTML;
1414
}
1515
return '';
16-
},[]);
16+
}, []);
1717

1818
return (<>
1919
<div className="file-details" style={props.style}>

client/admin/Item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export function ListItem(props) {
122122
);
123123
}
124124
return StaticFigure;
125-
},[]);
125+
}, []);
126126

127127
function handleFocus(event) {
128128
if (!(event.target.contentEditable))

client/admin/MenuBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function MenuExtension(props) {
4141
<LazyItem {...props} />
4242
</Suspense>
4343
);
44-
},[]);
44+
}, []);
4545

4646
return (
4747
<MenuComponent {...props} />

client/browser/FileSelectDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function Figure(props) {
3737
);
3838
}
3939
return StaticFigure;
40-
},[]);
40+
}, []);
4141

4242
return (
4343
<figure className="figure">

0 commit comments

Comments
 (0)