Skip to content

Commit 5aeafdd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e19b441 commit 5aeafdd

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

components/projects/top.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const Top = ({ data, filtered, tooltips, setTooltips }) => {
8484
data
8585
.filter((d) => filtered[d.id])
8686
.map((d) => d.metrics[1].value)
87-
.reduce((a, b) => a + b, 0)
87+
.reduce((a, b) => a + b, 0),
8888
)}
8989
</Badge>
9090
</FadeIn>

components/sidebar/brush.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const Brush = ({ label, setBounds }) => {
3131
[0, 0],
3232
[100, 100],
3333
])
34-
.on('start brush', (e) => update(e, x, setBounds, label))
34+
.on('start brush', (e) => update(e, x, setBounds, label)),
3535
)
3636
}
3737
}, [])

pages/research/cdr-database/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const selectMetric = (d, name) => {
1212

1313
function Index() {
1414
const projects = collection.projects.sort((a, b) =>
15-
a.applicant.localeCompare(b.applicant)
15+
a.applicant.localeCompare(b.applicant),
1616
)
1717
const metrics = {
1818
volume: projects.map((d) => ({

scripts/build_projects.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ def write_json(collection, output):
138138
@click.option('--output-csv', default='projects.csv', show_default=True)
139139
@click.option('--output-json', default='projects.json', show_default=True)
140140
def main(sources, output_projects, output_methods, output_numbers, output_csv, output_json):
141-
142141
projects = []
143142
metadata = get_cf_global_attrs(license='CC-BY-4.0', version=VERSION)
144143

0 commit comments

Comments
 (0)