Skip to content

Commit

Permalink
maybe eslint isn't so bad
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Nov 17, 2023
1 parent b9543e0 commit 11d7213
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions interface/app/$libraryId/TopBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ const TopBar = () => {
// when the component mounts + crucial state changes, we need to update the height _before_ the browser paints
// in order to avoid jank. resize observer doesn't fire early enought to account for this.
useLayoutEffect(() => {
searchStore.isSearching;

const height = ref.current!.getBoundingClientRect().height;
ctx.setTopBarHeight.call(undefined, height);
}, [ctx.setTopBarHeight, searchStore.isSearching]);
Expand Down

0 comments on commit 11d7213

Please sign in to comment.