mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-24 05:35:15 +00:00
tui: disable tips display in home route
This commit is contained in:
parent
b4d25efbb9
commit
19c1ed11b8
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ export function Home() {
|
|||
const isFirstTimeUser = createMemo(() => sync.data.session.length === 0)
|
||||
const tipsHidden = createMemo(() => kv.get("tips_hidden", false))
|
||||
const showTips = createMemo(() => {
|
||||
return false
|
||||
// Don't show tips for first-time users
|
||||
if (isFirstTimeUser()) return false
|
||||
return !tipsHidden()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue