Skip to content

Commit 3cd9562

Browse files
committed
fix: removed repeated variable
1 parent dc666a1 commit 3cd9562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/chat/CustomInstructionsMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const CustomInstructionsMenu = ({
2727
} = useExtensionState();
2828

2929
const isAllInstructionsEnabled = () => {
30-
if (fileInstructions && fileInstructions && fileInstructions.length > 0 && customInstructions) {
30+
if (fileInstructions && fileInstructions.length > 0 && customInstructions) {
3131
return (
3232
fileInstructions.every((i) => i.enabled === true) &&
3333
isCustomInstructionsEnabled

0 commit comments

Comments
 (0)