We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2d591b commit dbd0354Copy full SHA for dbd0354
src/app/shared/repositories/proof/proof.ts
@@ -61,12 +61,8 @@ export class Proof {
61
? this.timestamp
62
: this.timestamp * MILLISECONDS_PER_SECOND;
63
64
- try {
65
- const serverTimestampInMilliseconds = Date.parse(this.uploadedAt ?? '');
66
- return serverTimestampInMilliseconds || proofTimestampInMilliseconds;
67
- } catch (error) {
68
- return proofTimestampInMilliseconds;
69
- }
+ const serverTimestampInMilliseconds = Date.parse(this.uploadedAt ?? '');
+ return serverTimestampInMilliseconds || proofTimestampInMilliseconds;
70
}
71
72
/**
0 commit comments