diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-07-04 13:40:18 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-04 13:40:18 +0900 |
commit | 750d92e57e48d5b3614a97558ed8c43ce0351474 (patch) | |
tree | 80fa47ec452813b579fd7919d8f32337f272c6e9 /src/console/hooks/useAutoResize.ts | |
parent | 63a129d2d6fab68784e902476dd9d6d5f563036a (diff) | |
parent | 6b88c15d1a6193cd090c5a1ae9b6ea06a467e171 (diff) |
Merge pull request #1194 from ueokande/dependabot/npm_and_yarn/prettier-2.3.2
Bump prettier from 2.2.1 to 2.3.2
Diffstat (limited to 'src/console/hooks/useAutoResize.ts')
-rw-r--r-- | src/console/hooks/useAutoResize.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/console/hooks/useAutoResize.ts b/src/console/hooks/useAutoResize.ts index 4253606..26f1d76 100644 --- a/src/console/hooks/useAutoResize.ts +++ b/src/console/hooks/useAutoResize.ts @@ -10,10 +10,8 @@ const useAutoResize = () => { }, []); React.useLayoutEffect(() => { - const { - scrollWidth: width, - scrollHeight: height, - } = document.getElementById("vimvixen-console")!; + const { scrollWidth: width, scrollHeight: height } = + document.getElementById("vimvixen-console")!; consoleFrameClient.resize(width, height); if (width === prevWidth && height === prevHeight) { |