File tree Expand file tree Collapse file tree 1 file changed +14
-19
lines changed
source/renderer/app/stores Expand file tree Collapse file tree 1 file changed +14
-19
lines changed Original file line number Diff line number Diff line change @@ -423,26 +423,21 @@ export default class VotingStore extends Store {
423423 const { network, isMainnet } = this . environment ;
424424 const intl = i18nContext ( currentLocale ) ;
425425
426- try {
427- const wasSaved = await votingPDFGenerator ( {
428- nextVotingFundNumber,
429- qrCode,
430- walletName,
431- currentLocale,
432- currentDateFormat,
433- currentTimeFormat,
434- desktopDirectoryPath,
435- network,
436- isMainnet,
437- intl,
438- } ) ;
439- // @ts -ignore ts-migrate(2554) FIXME: Expected 1 arguments, but got 0.
426+ const wasSaved = await votingPDFGenerator ( {
427+ nextVotingFundNumber,
428+ qrCode,
429+ walletName,
430+ currentLocale,
431+ currentDateFormat,
432+ currentTimeFormat,
433+ desktopDirectoryPath,
434+ network,
435+ isMainnet,
436+ intl,
437+ } ) ;
440438
441- if ( wasSaved ) {
442- this . actions . voting . saveAsPDFSuccess . trigger ( ) ;
443- }
444- } catch ( error ) {
445- throw new Error ( error ) ;
439+ if ( wasSaved ) {
440+ this . actions . voting . saveAsPDFSuccess . trigger ( ) ;
446441 }
447442 } ;
448443 _checkVotingRegistrationTransaction = async ( ) => {
You can’t perform that action at this time.
0 commit comments