We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05564c4 commit cbfc0c2Copy full SHA for cbfc0c2
src/SortTools.tsx
@@ -30,8 +30,7 @@ export class SortTools extends React.Component {
30
event: React.MouseEvent<HTMLButtonElement, MouseEvent>
31
): void {
32
const target = event.target as HTMLElement;
33
- const top: number;
34
- top = target.getBoundingClientRect().top + 30;
+ const top = target.getBoundingClientRect().top + 30;
35
const leftAsString =
36
(target.getBoundingClientRect().left - 164).toString(10) + 'px';
37
const topAsString = top.toString(10) + 'px';
0 commit comments