chore: cleanup

This commit is contained in:
Tom Moor
2022-04-30 08:24:58 -07:00
parent 677ca10b2b
commit a736022c39
10 changed files with 22 additions and 23 deletions

View File

@@ -65,8 +65,7 @@ const Sidebar = React.forwardRef<HTMLDivElement, Props>(
const handleStopDrag = React.useCallback(() => {
setResizing(false);
if (document.activeElement) {
// @ts-expect-error ts-migrate(2339) FIXME: Property 'blur' does not exist on type 'Element'.
if (document.activeElement instanceof HTMLElement) {
document.activeElement.blur();
}