fix toolbar responsiveness and disable side panel

This commit is contained in:
miloschwartz
2026-07-01 15:14:29 -04:00
parent 0871a211ec
commit db0a7cc1ce
9 changed files with 167 additions and 122 deletions
@@ -6,7 +6,7 @@ import { LauncherResourceCard } from "./LauncherResourceCard";
type LauncherResourceGridProps = {
resources: LauncherResource[];
showLabels: boolean;
onResourceSelect: (resource: LauncherResource) => void;
onResourceSelect?: (resource: LauncherResource) => void;
};
export function LauncherResourceGrid({
@@ -21,7 +21,11 @@ export function LauncherResourceGrid({
key={resource.launcherResourceKey}
resource={resource}
showLabels={showLabels}
onSelect={() => onResourceSelect(resource)}
onSelect={
onResourceSelect
? () => onResourceSelect(resource)
: undefined
}
/>
))}
</div>