Skip to content

Commit 52f936c

Browse files
Fix Dropdown being default open
1 parent 5712a4e commit 52f936c

File tree

1 file changed

+1
-1
lines changed
  • workshop-ui/src/app/chat/[exercise]

1 file changed

+1
-1
lines changed

workshop-ui/src/app/chat/[exercise]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default function Home() {
2828
const [exerciseTitle, setExerciseTitle] = useState(exercise); // Start with exercise ID
2929
const [isSystemPromptModalOpen, setIsSystemPromptModalOpen] = useState(false);
3030
const [isTaskSheetModalOpen, setIsTaskSheetModalOpen] = useState(false);
31-
const [isDropdownOpen, setIsDropdownOpen] = useState(true);
31+
const [isDropdownOpen, setIsDropdownOpen] = useState(false);
3232
const messagesEndRef = useRef<HTMLDivElement>(null);
3333
const messagesContainerRef = useRef<HTMLDivElement>(null);
3434
const inputRef = useRef<HTMLTextAreaElement>(null);

0 commit comments

Comments
 (0)