This commit is contained in:
seb
2026-07-31 20:37:43 +02:00
parent d5d30fb286
commit 9582370b0b
15 changed files with 174 additions and 70 deletions

View File

@@ -1,7 +1,7 @@
import { Component } from 'react';
import { connect } from 'react-redux';
import { enqueueSnackbar } from 'notistack';
import { bootstrapSession as bootstrapSessionThunk } from '../store/authSlice';
import { notifyError } from '../utils/notify';
let sessionBootstrapped = false;
@@ -19,7 +19,7 @@ class AuthBootstrap extends Component {
}
})
.catch((err) => {
enqueueSnackbar(`Session check failed: ${err.message}`, { variant: 'error' });
notifyError(err);
});
}