app: wrap provider data in Map to avoid store (#28765)
This commit is contained in:
parent
9f06accfb4
commit
1f0390cfbb
18 changed files with 80 additions and 55 deletions
|
|
@ -55,7 +55,7 @@ export function SessionSidePanel(props: {
|
|||
const language = useLanguage()
|
||||
const command = useCommand()
|
||||
const dialog = useDialog()
|
||||
const { sessionKey, tabs, view } = useSessionLayout()
|
||||
const { sessionKey, tabs, view, params } = useSessionLayout()
|
||||
|
||||
const isDesktop = createMediaQuery("(min-width: 768px)")
|
||||
const shown = createMemo(
|
||||
|
|
@ -207,7 +207,7 @@ export function SessionSidePanel(props: {
|
|||
})
|
||||
|
||||
return (
|
||||
<Show when={isDesktop()}>
|
||||
<Show when={isDesktop() && !(import.meta.env.VITE_OPENCODE_CHANNEL !== "prod" && !params.id)}>
|
||||
<aside
|
||||
id="review-panel"
|
||||
aria-label={language.t("session.panel.reviewAndFiles")}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue