Skip to content

Commit

Permalink
fix: linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
schummar committed Jun 1, 2023
1 parent f6f37f8 commit 0c06e1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/theme/defaultTheme/popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ export const Popover: TableTheme['components']['Popover'] = ({
bottom: anchorBottom,
width: anchorWidth,
} = anchorEl.getBoundingClientRect();
const { width: popperWidth = 0, height: popperHeight = 0 } =
popper.current?.getBoundingClientRect() ?? {};
const { width: popperWidth = 0 } = popper.current?.getBoundingClientRect() ?? {};
const viewportWidth = document.documentElement.clientWidth;
const viewportHeight = document.documentElement.clientHeight;

Expand Down

0 comments on commit 0c06e1c

Please sign in to comment.