diff --git a/playground/src/main.ts b/playground/src/main.ts index 131fcbb..7a768c9 100644 --- a/playground/src/main.ts +++ b/playground/src/main.ts @@ -193,7 +193,7 @@ function Tabs() { }; useEffect(() => { - if (state.messages.value) setSelected(CONSOLE); + if (state.messages.value.length) setSelected(CONSOLE); }, [state.messages.value]); let body;