Skip to content

Commit

Permalink
use const instead of let for columnKey
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasblum committed Apr 5, 2024
1 parent 8aaf52b commit f649504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DownloadForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export class DownloadForm extends PureComponent<LoadedProps> {

const main = description.main.key || 'entry';
const secondary = filters.length && (filters[0][0] as Endpoint);
let columnKey =
const columnKey =
secondary && description[secondary].accession
? `${main}${secondary[0].toUpperCase()}${secondary.slice(1)}`
: main;
Expand Down

0 comments on commit f649504

Please sign in to comment.