select modules.Prefetched schema depends only on modules

This commit is contained in:
Johannes Kirschbauer
2023-11-04 13:53:30 +01:00
parent eda80579d6
commit a34d5d20e0
10 changed files with 211 additions and 84 deletions

View File

@@ -75,9 +75,10 @@ const showSidebar = tw`lg:translate-x-0`;
interface SidebarProps {
show: boolean;
onClose: () => void;
clanSelect: React.ReactNode;
}
export function Sidebar(props: SidebarProps) {
const { show, onClose } = props;
const { show, onClose, clanSelect } = props;
return (
<aside
@@ -96,6 +97,7 @@ export function Sidebar(props: SidebarProps) {
/>
</div>
</div>
<div className="self-center">{clanSelect}</div>
<Divider
flexItem
className="mx-8 mb-4 mt-9 hidden bg-neutral-40 lg:block"