Skip to content

Commit 74b3045

Browse files
committed
apply nit
1 parent 74d154c commit 74b3045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/editor/ai/ai-completion-editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export const AiCompletionEditor: React.FC<Props> = ({
193193
const showCompletionBanner =
194194
enabled && triggerImmediately && (completion || isLoading);
195195
// Set default output area to below if not specified
196-
outputArea = outputArea === undefined ? "below" : outputArea;
196+
outputArea = outputArea ?? "below";
197197

198198
const showInput = enabled && (!triggerImmediately || showInputPrompt);
199199

0 commit comments

Comments
 (0)