Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rchandnaeg committed Jun 4, 2024
1 parent f54ffd1 commit 14264fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ import {
IStatementExecution,
IStatementResult,
} from 'const/queryExecution';
import { getStatementExecutionResultDownloadUrl, getStatementExecutionResultDownloadUrlXlsx } from 'lib/query-execution';
import {
getStatementExecutionResultDownloadUrl,
getStatementExecutionResultDownloadUrlXlsx,
} from 'lib/query-execution';
import {
getExporterAuthentication,
pollExporterTaskPromise,
Expand Down Expand Up @@ -108,7 +111,7 @@ export const ResultExportDropdown: React.FunctionComponent<IProps> = ({
} else {
toast.error('No valid url!');
}
}, [statementId])
}, [statementId]);

const onExportTSVClick = React.useCallback(async () => {
const rawResult = statementResult?.data || [];
Expand Down Expand Up @@ -191,7 +194,7 @@ export const ResultExportDropdown: React.FunctionComponent<IProps> = ({
{
name: 'Download Full Result (as XLSX)',
onClick: onDownloadXlsxClick,
icon: 'Sheet'
icon: 'Sheet',
},
{
name: (
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ numpy>=1.22.2 # not directly required, pinned by Snyk to avoid a vulnerability
psycopg2==2.9.5

# Excel export
openpyxl==3.1.2
openpyxl==3.1.2

0 comments on commit 14264fe

Please sign in to comment.