Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
john681611 committed Nov 2, 2023
1 parent 5bff337 commit 2e7d913
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions application/frontend/src/hooks/useWindowDimensions.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { useState, useEffect } from 'react';
import { useEffect, useState } from 'react';

function getWindowDimensions() {
const { innerWidth: width, innerHeight: height } = window;
return {
width,
height
height,
};
}

Expand All @@ -21,4 +21,4 @@ export default function useWindowDimensions() {
}, []);

return windowDimensions;
}
}

0 comments on commit 2e7d913

Please sign in to comment.