Connect, collaborate, and grow with a community of TypeScript developers
fix: tests panel open by default on challenges (#1089)
rbrtj1fa0e37fe507
diff --git a/packages/monaco/src/index.tsx b/packages/monaco/src/index.tsxindex 7af8b50b..7a367cab 100644--- a/packages/monaco/src/index.tsx+++ b/packages/monaco/src/index.tsx@@ -40,7 +40,7 @@ export function CodePanel(props: CodePanelProps) {const isPlayground = pathname.includes('playground');const { toast } = useToast();const [tsErrors, setTsErrors] = useState<TsErrors>();- const [isTestPanelExpanded, setIsTestPanelExpanded] = useState(false);+ const [isTestPanelExpanded, setIsTestPanelExpanded] = useState(true);const [localStorageCode, setLocalStorageCode] = useLocalStorage(`challenge-${props.challenge.slug}`,'',