Skip to content

Commit

Permalink
#653 Use Typescript for export helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvansson committed Jul 1, 2020
1 parent f2004c7 commit b7f5865
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Settings/Export/Export.container.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class ExportContainer extends PureComponent {
doneCallback
) => {
const exportConfig = EXPORT_CONFIG_BY_TYPE[type];
const EXPORT_HELPERS = await import('./Export.helpers');
const EXPORT_HELPERS = await import('./Export.helpers.ts');

if (
!exportConfig ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class PrintBoardButtonContainer extends React.Component {
}

componentDidMount() {
this.exportHelpers = import('../../Settings/Export/Export.helpers');
this.exportHelpers = import('../../Settings/Export/Export.helpers.ts');
}

openPrintBoardDialog() {
Expand Down

0 comments on commit b7f5865

Please sign in to comment.