Skip to content

Commit

Permalink
refactor: update workflow job names
Browse files Browse the repository at this point in the history
  • Loading branch information
logonoff committed Nov 7, 2024
1 parent 4e40fc2 commit 489c057
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Checks

on: [push, pull_request]
jobs:
build-backend:
backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -13,7 +13,7 @@ jobs:
- name: Build typescript
run: npm run build --prefix ./backend

build-frontend:
frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 2 additions & 4 deletions frontend/src/components/DashboardHeader/DashboardHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ const LeftHeader = ({
const RightHeader = ({ userInfo, theme }: {
/** to be passed by the UserContext */
userInfo: User;
/** to be passed by the useTheme MUI hook */
theme: Theme;
}) => {
const [anchorElUser, setAnchorElUser] = React.useState(null);
const theme = useTheme();

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const handleOpenUserMenu = (event: SyntheticEvent<any>) => {
Expand Down Expand Up @@ -156,9 +155,8 @@ export const DashboardHeader = ({
active_requests={active_requests}
pending_requests={pending_requests}
userInfo={userInfo}
theme={theme}
/>
<RightHeader userInfo={userInfo} theme={theme} />
<RightHeader userInfo={userInfo} />
</Box>
);
};

0 comments on commit 489c057

Please sign in to comment.