Skip to content

Commit 473bf81

Browse files
test
1 parent 7ca095d commit 473bf81

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/frontend/src/app/AppAuthenticated.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ const SidebarLayout: React.FC<{ children: React.ReactNode }> = ({ children }) =>
100100
const AppAuthenticated: React.FC<AppAuthenticatedProps> = ({ userId, userRole }) => {
101101
const { isLoading, isError, error, data: userSettingsData } = useSingleUserSettings(userId);
102102

103+
const theme = useTheme();
104+
const [drawerOpen, setDrawerOpen] = useState(false);
105+
const [moveContent, setMoveContent] = useState(false);
106+
const { onGuestHomePage } = useHomePageContext();
107+
103108
const {
104109
data: organization,
105110
isLoading: organizationIsLoading,

src/frontend/src/pages/GanttPage/ProjectGanttChart/ProjectGanttChartPage.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -605,10 +605,6 @@ const ProjectGanttChartPage: FC = () => {
605605
)
606606
: add(Date.now(), { weeks: 15 });
607607

608-
const toggleElementShowChildren = (element: WbsElementPreview | Task) => {
609-
setShowWorkPackagesMap((prev) => new Map(prev.set(getElementId(element), !prev.get(getElementId(element)))));
610-
};
611-
612608
const headerRight = (
613609
<Box sx={{ display: 'flex', gap: 1, justifyContent: 'flex-end', alignItems: 'center' }}>
614610
<GanttChartColorLegend />

0 commit comments

Comments
 (0)