mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
fix(cli): show tips for connected first-time users
This commit is contained in:
@@ -44,9 +44,8 @@ export function Home() {
|
||||
const onboarding = createMemo(() => isFirstTimeUser() && !connected())
|
||||
// kilocode_change end
|
||||
const showTips = createMemo(() => {
|
||||
if (onboarding()) return !tipsHidden() // kilocode_change
|
||||
// Don't show tips for first-time users
|
||||
if (isFirstTimeUser()) return false
|
||||
if (onboarding()) return !tipsHidden() // kilocode_change - show onboarding tip
|
||||
// kilocode_change - don't hide tips for connected first-time users
|
||||
return !tipsHidden()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user