Skip to content

Commit

Permalink
Merge pull request #191 from webzard-io/fix/shell
Browse files Browse the repository at this point in the history
Fix/shell
  • Loading branch information
tanbowensg authored Oct 31, 2024
2 parents 28b99a3 + 9ca569a commit 6342333
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/refine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dovetail-v2/refine",
"version": "0.1.13",
"version": "0.1.14-alpha.0",
"type": "module",
"files": [
"dist",
Expand All @@ -10,7 +10,7 @@
"module": "./dist/refine.js",
"types": "./lib/index.d.ts",
"dependencies": {
"@cloudtower/eagle": "^0.31.19",
"@cloudtower/eagle": "^0.31.19",
"@cloudtower/icons-react": "^0.31.19",
"@patternfly/react-core": "^5.1.1",
"@patternfly/react-log-viewer": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/refine/src/components/Shell/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export const Shell = React.forwardRef<ShellHandler, ShellProps>(function Shell(p
});
}
}, [encode, send, props.fit]);
const debouncedFit = useCallback(() => debounce(fit, 200), [fit]);
const debouncedFit = useMemo(() => debounce(fit, 200), [fit]);
const flush = useCallback(() => {
const backlog = backlogRef.current.slice();

Expand Down

0 comments on commit 6342333

Please sign in to comment.