chore: cleanup

This commit is contained in:
Adam 2026-01-22 11:21:14 -06:00
parent b8526eca67
commit bb582416f2
No known key found for this signature in database
GPG Key ID: 9CB48779AF150E75

View File

@ -1964,7 +1964,9 @@ export default function Layout(props: ParentProps) {
<Collapsible.Content> <Collapsible.Content>
<nav class="flex flex-col gap-1 px-2"> <nav class="flex flex-col gap-1 px-2">
<NewSessionItem slug={slug()} mobile={props.mobile} /> <Show when={workspaceSetting()}>
<NewSessionItem slug={slug()} mobile={props.mobile} />
</Show>
<Show when={loading()}> <Show when={loading()}>
<SessionSkeleton /> <SessionSkeleton />
</Show> </Show>
@ -2171,7 +2173,9 @@ export default function Layout(props: ParentProps) {
style={{ "overflow-anchor": "none" }} style={{ "overflow-anchor": "none" }}
> >
<nav class="flex flex-col gap-1 px-2"> <nav class="flex flex-col gap-1 px-2">
<NewSessionItem slug={slug()} mobile={props.mobile} /> <Show when={workspaceSetting()}>
<NewSessionItem slug={slug()} mobile={props.mobile} />
</Show>
<Show when={loading()}> <Show when={loading()}>
<SessionSkeleton /> <SessionSkeleton />
</Show> </Show>