Skip to content

Commit cf50624

Browse files
committed
Tidy up
1 parent ccc9ed8 commit cf50624

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

extensions/ql-vscode/src/remote-queries/remote-queries-interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export class RemoteQueriesInterfaceManager {
212212
await this.downloadAllAnalysesResults(msg);
213213
break;
214214
case 'remoteQueryExportResults':
215-
await await commands.executeCommand('codeQL.exportVariantAnalysisResults');
215+
await commands.executeCommand('codeQL.exportVariantAnalysisResults');
216216
break;
217217
default:
218218
assertNever(msg);

extensions/ql-vscode/src/remote-queries/view/ExportButton.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
import * as React from 'react';
22
import styled from 'styled-components';
33

4-
const Button = styled.a`
4+
const Button = styled.button`
55
color: var(--vscode-button-foreground);
66
background-color: var(--vscode-button-background);
77
&:hover {
8-
color: var(--vscode-button-foreground);
98
text-decoration: none;
109
background-color: var(--vscode-button-hoverBackground);
1110
}
1211
cursor: pointer;
1312
padding: 5px 10px;
13+
border: 0;
1414
`;
1515

1616
const ExportButton = ({ text, onClick }: { text: string, onClick: () => void }) => (
17-
<Button className="monaco-button monaco-text-button" onClick={onClick}>
17+
<Button onClick={onClick}>
1818
{text}
1919
</Button>
2020
);

extensions/ql-vscode/src/remote-queries/view/RemoteQueries.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ const AnalysesResults = ({
327327
totalResults={totalResults} />
328328
</Box>
329329
<Box>
330-
<ExportButton text="Export all" onClick={() => exportResults()}></ExportButton>
330+
<ExportButton text="Export all" onClick={exportResults}></ExportButton>
331331
</Box>
332332
</Box>
333333
<AnalysesResultsDescription

0 commit comments

Comments
 (0)