optimize various base components

This commit is contained in:
jeffvli
2026-01-02 12:46:35 -08:00
parent a66c67e86d
commit d06d1674d1
31 changed files with 669 additions and 393 deletions
+6 -1
View File
@@ -32,12 +32,12 @@ const ResponsiveLayoutBase = ({ shell }: ResponsiveLayoutProps) => {
export const ResponsiveLayout = ({ shell }: ResponsiveLayoutProps) => {
useAppTracker();
useGarbageCollection();
return (
<>
<ResponsiveLayoutBase shell={shell} />
<LayoutHotkeys />
<GarbageCollection />
</>
);
};
@@ -77,3 +77,8 @@ const LayoutHotkeys = () => {
return <CommandPalette modalProps={{ handlers, opened }} />;
};
const GarbageCollection = () => {
useGarbageCollection();
return null;
};