Skip to content

Commit ba9e6fe

Browse files
committed
Fix lint errors
1 parent 9fd41bf commit ba9e6fe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/ListResultTable/QueryResultList/TableHeader/TableHeader.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import { Component } from "react";
1010

1111
/**
1212
*
13-
* @param {object} props the props passed down to the component
14-
* @param {Array<Component>} props.children the children of the component
15-
* @param {object} props.config the config object of the application
13+
* @param {object} props - the props passed down to the component
14+
* @param {Array<Component>} props.children - the children of the component
15+
* @param {object} props.config - the config object of the application
1616
* @returns {Component} the header of the table containing the column names, the sort icons and ontology links
1717
*/
1818
function TableHeader({ children, config }) {
@@ -23,7 +23,7 @@ function TableHeader({ children, config }) {
2323

2424
/**
2525
* Handles the click on a header and sets the sort state accordingly
26-
* @param {string} target the source of the column that was clicked
26+
* @param {string} target - the source of the column that was clicked
2727
*/
2828
function handleHeaderClick(target) {
2929
const newSort = { field: target, order: "DESC" };

src/dataProvider/SparqlDataProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ async function fetchQuery(query) {
121121

122122
/**
123123
* Given a query and an object, this function returns the predicate of the object in the query.
124-
* @param {object} query the paresed query in which the predicate is to be looked for.
124+
* @param {object} query - the paresed query in which the predicate is to be looked for.
125125
* @returns {object} an object with the variable as key and the predicate as value.
126126
*/
127127
function findPredicates(query) {

0 commit comments

Comments
 (0)