Skip to content

Commit 4b50376

Browse files
chore: change port to 3030 and fix build errors (#234)
1 parent 8da2334 commit 4b50376

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

frontend/app/layoutComponents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function NavigationBar({ children }: NavigationBarProps) {
1818
<div className={styles.App}>
1919
<Navbar onMenuClick={() => setIsMenuCollapsed(!isMenuCollapsed)} />
2020
<div className={styles.ContentNav}>
21-
<SideMenu className={isMenuCollapsed ? styles.hidden : undefined} />
21+
<SideMenu className={isMenuCollapsed ? styles.hidden : styles.visible} />
2222
<div className={styles.mainContent}>{children}</div>
2323
</div>
2424
</div>

frontend/app/presentationMode/utils/retrieveAutomaticDashboardsData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { GrafanaCatalog } from '../../../sideMenu/DashboardsClient';
1+
import { GrafanaCatalog } from '@/src/components/sideMenu/DashboardsClient';
22
import { ItemDTO } from './ItemDTO';
33

44
export const retrieveAutomaticDashboardsData = (dashboardsData: GrafanaCatalog[]): ItemDTO[] => {

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"dev": "next dev -p 3030",
77
"build": "next build",
8-
"start": "next start",
8+
"start": "next start -p 3030",
99
"lint": "next lint",
1010
"prettier-format": "prettier --config .prettierrc \"{**/*,*}.{js,jsx,ts,tsx,css,md,json}\" --write"
1111
},

frontend/src/App.module.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,7 @@
4343
display: none !important;
4444
}
4545

46+
.visible {
47+
display: block;
48+
}
49+

0 commit comments

Comments
 (0)