Skip to content

Commit

Permalink
Fixed 3 of the linting warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair-platt committed Oct 13, 2023
1 parent aa03b41 commit 65cb443
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/server.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import express, { NextFunction, Request, Response, Express } from "express";
import express, { Request, Response, Express } from "express";
import axios from "axios";
import path from "path";
import ejs from "ejs";
Expand Down
2 changes: 1 addition & 1 deletion server/tests/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import supertest from "supertest";
import { IMock, Mock, It } from "typemoq";
import { IMock, Mock} from "typemoq";
import BlaiseApiClient from "blaise-api-node-client";
import nodeServer from "../server";
import { EnvironmentVariables } from "../Config";
Expand Down
2 changes: 1 addition & 1 deletion src/Components/InstrumentList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function InstrumentList(props: Props): ReactElement {
</td>
<td className="ons-table__cell ">
<ExternalLink text={"Interview"}
link={item.link!}
link={item.link ?? ""}
ariaLabel={"Launch interview for instrument " + item.name + " " + item.fieldPeriod}/>
</td>
</tr>
Expand Down

0 comments on commit 65cb443

Please sign in to comment.