diff --git a/frontend/src/components/Collapsible/Collapsible.tsx b/frontend/src/components/Collapsible/Collapsible.tsx index 70473d9b5..e6db5e775 100644 --- a/frontend/src/components/Collapsible/Collapsible.tsx +++ b/frontend/src/components/Collapsible/Collapsible.tsx @@ -8,7 +8,7 @@ type CollapsibleSection = { }; const Collapsible = ({ title, children }: CollapsibleSection) => { - const [expanded, setExpanded] = useState(false); + const [expanded, setExpanded] = useState(true); // Every Collapsible component will be expanded by default const icon = expanded ? down : up; const handleKeywordKeyPress = (e: React.KeyboardEvent) => { diff --git a/package-lock.json b/package-lock.json index 3c8e173be..84c25f4f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@typescript-eslint/parser": "^4.31.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-promise": "^5.1.0", - "typescript": "^4.4.3" + "typescript": "^4.9.5" }, "devDependencies": { "@babel/core": "^7.14.8", @@ -3227,9 +3227,9 @@ } }, "node_modules/typescript": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz", - "integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -5647,9 +5647,9 @@ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" }, "typescript": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz", - "integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==" + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==" }, "unbox-primitive": { "version": "1.0.1", diff --git a/package.json b/package.json index adc1ca167..07d023712 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "@typescript-eslint/parser": "^4.31.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-promise": "^5.1.0", - "typescript": "^4.4.3" + "typescript": "^4.9.5" }, "devDependencies": { "@babel/core": "^7.14.8",