Skip to content

Commit 99c3261

Browse files
authored
Merge pull request #4 from helfi92/refresh-yarn-lock
Refresh yarn.lock
2 parents 99bbfd3 + f4f4ba5 commit 99c3261

File tree

2 files changed

+3337
-2372
lines changed

2 files changed

+3337
-2372
lines changed

src/components/Authorize/index.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,9 @@ export default class Authorize extends Component {
303303
const now = new Date();
304304
// eslint-disable-next-line no-nested-ternary
305305
const authResult = expiration
306-
? expiration > now ? session.authResult : await this.renew()
306+
? expiration > now
307+
? session.authResult
308+
: await this.renew()
307309
: await this.parse();
308310
const userInfo = session
309311
? session.userInfo

0 commit comments

Comments
 (0)