Skip to content

Commit 311b5ab

Browse files
committed
Fix code style
1 parent 3ad4a74 commit 311b5ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/Overlay/useOverlay.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ export function getModifiers(props: Pick<OverlayOptions, 'align' | 'flip'>) {
3232
{
3333
name: 'preventOverflow',
3434
options: {
35-
mainAxis: false
36-
}
37-
}
35+
mainAxis: false,
36+
},
37+
},
3838
];
3939

4040
if (props.align !== 'right' && props.align !== 'left') {
@@ -69,7 +69,7 @@ export function useOverlay(
6969
);
7070

7171
const refElementHeight = referenceElement?.offsetHeight;
72-
72+
7373
// Re-position the popper if the height of the reference element changes.
7474
// Exclude `forceUpdate` from dependencies since it changes with each render.
7575
useEffect(() => {

0 commit comments

Comments
 (0)