mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-05 16:02:19 +00:00
perf(app): don't remount directory layout
This commit is contained in:
parent
c4d223eb99
commit
4afb46f571
11 changed files with 257 additions and 114 deletions
|
|
@ -50,7 +50,7 @@ export function SessionHeader() {
|
|||
const showShare = createMemo(() => shareEnabled() && !!currentSession())
|
||||
const showReview = createMemo(() => !!currentSession())
|
||||
const sessionKey = createMemo(() => `${params.dir}${params.id ? "/" + params.id : ""}`)
|
||||
const view = createMemo(() => layout.view(sessionKey()))
|
||||
const view = createMemo(() => layout.view(sessionKey))
|
||||
|
||||
const [state, setState] = createStore({
|
||||
share: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue