Skip to content

Commit c036e67

Browse files
committed
#1638 - clean up code a bit
1 parent 665e335 commit c036e67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/frontend/src/pages/ChangeRequestsPage/ChangeRequestsTable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ const ChangeRequestsTable: React.FC = () => {
5050
const theme = useTheme();
5151

5252
useEffect(() => {
53-
function handleResize() {
53+
const handleResize = () => {
5454
setWindowSize(window.innerWidth);
55-
}
55+
};
5656

5757
// Attach the event listener to the window object
5858
window.addEventListener('resize', handleResize);

0 commit comments

Comments
 (0)