Skip to content

Commit b144acd

Browse files
committed
clarify
1 parent 065b2ae commit b144acd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/compass-shell/src/components/compass-shell/tab-compass-shell.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ export const CompassShell: React.FC<CompassShellProps> = ({
8484
const enableShell = usePreference('enableShell');
8585
const canRenderShell = !!(enableShell && initialHistory && runtime);
8686

87-
// initialEvaluate will only be set on the first render
87+
// initialEvaluate will only be set on the first render of the browser-repl
88+
// component
8889
const initialEvaluate = useInitialEval(_initialEvaluate, canRenderShell);
8990

9091
const editorRef = useRef<EditorRef>(null);

0 commit comments

Comments
 (0)