Skip to content

Commit cbfc0c2

Browse files
committed
Fixed build error.
1 parent 05564c4 commit cbfc0c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/SortTools.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ export class SortTools extends React.Component {
3030
event: React.MouseEvent<HTMLButtonElement, MouseEvent>
3131
): void {
3232
const target = event.target as HTMLElement;
33-
const top: number;
34-
top = target.getBoundingClientRect().top + 30;
33+
const top = target.getBoundingClientRect().top + 30;
3534
const leftAsString =
3635
(target.getBoundingClientRect().left - 164).toString(10) + 'px';
3736
const topAsString = top.toString(10) + 'px';

0 commit comments

Comments
 (0)