diff --git a/packages/refine/package.json b/packages/refine/package.json index 8becc88..026404d 100644 --- a/packages/refine/package.json +++ b/packages/refine/package.json @@ -1,6 +1,6 @@ { "name": "@dovetail-v2/refine", - "version": "0.1.13", + "version": "0.1.14-alpha.0", "type": "module", "files": [ "dist", @@ -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", diff --git a/packages/refine/src/components/Shell/index.tsx b/packages/refine/src/components/Shell/index.tsx index 80b4310..b836056 100644 --- a/packages/refine/src/components/Shell/index.tsx +++ b/packages/refine/src/components/Shell/index.tsx @@ -162,7 +162,7 @@ export const Shell = React.forwardRef(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();