Skip to content

Commit de56564

Browse files
.lock file changes undone
1 parent 817edeb commit de56564

File tree

3 files changed

+35
-32
lines changed

3 files changed

+35
-32
lines changed

cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
"eslint": "^8.40.0",
4444
"eslint-plugin-import": "^2.29.0",
4545
"eslint-plugin-prettier": "^5.0.1",
46-
"eslint-plugin-react": "^7.29.4",
46+
"eslint-plugin-react": "^7.32.2",
4747
"eslint-plugin-react-hooks": "^4.6.0",
48-
"eslint-plugin-unused-imports": "^3.0.0",
48+
"eslint-plugin-unused-imports": "^3.1.0",
4949
"ink-testing-library": "^3.0.0",
5050
"prettier": "^3.0.3",
5151
"ts-node": "^10.9.1",

cli/yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ eslint-plugin-react-hooks@^4.6.0:
13311331
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3"
13321332
integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==
13331333

1334-
eslint-plugin-react@^7.29.4:
1334+
eslint-plugin-react@^7.32.2:
13351335
version "7.37.1"
13361336
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.37.1.tgz#56493d7d69174d0d828bc83afeffe96903fdadbd"
13371337
integrity sha512-xwTnwDqzbDRA8uJ7BMxPs/EXRB3i8ZfnOIp8BsxEQkT0nHPp+WWceqGgo6rKb9ctNi8GJLDT4Go5HAWELa/WMg==
@@ -1355,7 +1355,7 @@ eslint-plugin-react@^7.29.4:
13551355
string.prototype.matchall "^4.0.11"
13561356
string.prototype.repeat "^1.0.0"
13571357

1358-
eslint-plugin-unused-imports@^3.0.0:
1358+
eslint-plugin-unused-imports@^3.1.0:
13591359
version "3.2.0"
13601360
resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-3.2.0.tgz#63a98c9ad5f622cd9f830f70bc77739f25ccfe0d"
13611361
integrity sha512-6uXyn6xdINEpxE1MtDjxQsyXB37lfyO2yKGVVgtD7WEWQGORSOZjgrD6hBhvGv4/SO+TOlS+UnC6JppRqbuwGQ==

web-server/src/components/PRTable/PullRequestsTableHead.tsx

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -95,38 +95,41 @@ export const PullRequestsTableHead: FC<PullRequestsTableHeadProps> = ({
9595
</TableSortLabel>
9696
</TableCell>
9797

98-
{enabledColumnsSet.has('commits') && (<TableCell sx={{ minWidth: '40%', p: CELL_PAD, py: 1.5 }}>
99-
<TableSortLabel
100-
direction={conf.field === 'commits' ? conf.order : 'asc'}
101-
active={conf.field === 'commits'}
102-
onClick={() => updateSortConf('commits')}
103-
>
104-
Commits
105-
</TableSortLabel>
106-
</TableCell>
98+
{enabledColumnsSet.has('commits') && (
99+
<TableCell sx={{ minWidth: '40%', p: CELL_PAD, py: 1.5 }}>
100+
<TableSortLabel
101+
direction={conf.field === 'commits' ? conf.order : 'asc'}
102+
active={conf.field === 'commits'}
103+
onClick={() => updateSortConf('commits')}
104+
>
105+
Commits
106+
</TableSortLabel>
107+
</TableCell>
107108
)}
108109

109-
{enabledColumnsSet.has('lines_changed') && (<TableCell sx={{ minWidth: '40%', p: CELL_PAD, py: 1.5 }}>
110-
<TableSortLabel
111-
direction={conf.field === 'additions' ? conf.order : 'asc'}
112-
active={conf.field === 'additions'}
113-
onClick={() => updateSortConf('additions')}
114-
>
115-
Lines
116-
</TableSortLabel>
117-
</TableCell>
110+
{enabledColumnsSet.has('lines_changed') && (
111+
<TableCell sx={{ minWidth: '40%', p: CELL_PAD, py: 1.5 }}>
112+
<TableSortLabel
113+
direction={conf.field === 'additions' ? conf.order : 'asc'}
114+
active={conf.field === 'additions'}
115+
onClick={() => updateSortConf('additions')}
116+
>
117+
Lines
118+
</TableSortLabel>
119+
</TableCell>
118120
)}
119121

120-
{enabledColumnsSet.has('comments') && (<TableCell sx={{ minWidth: '40%', p: CELL_PAD, py: 1.5 }}>
121-
<TableSortLabel
122-
direction={conf.field === 'comments' ? conf.order : 'asc'}
123-
active={conf.field === 'comments'}
124-
onClick={() => updateSortConf('comments')}
125-
>
126-
Comments
127-
</TableSortLabel>
128-
</TableCell>
129-
)}
122+
{enabledColumnsSet.has('comments') && (
123+
<TableCell sx={{ minWidth: '40%', p: CELL_PAD, py: 1.5 }}>
124+
<TableSortLabel
125+
direction={conf.field === 'comments' ? conf.order : 'asc'}
126+
active={conf.field === 'comments'}
127+
onClick={() => updateSortConf('comments')}
128+
>
129+
Comments
130+
</TableSortLabel>
131+
</TableCell>
132+
)}
130133

131134
{enabledColumnsSet.has('base_branch') && (
132135
<TableCell

0 commit comments

Comments
 (0)