Fix prop-types warning in Base
This commit is contained in:
parent
2c85ff6c65
commit
ac844031bf
@ -33,7 +33,7 @@ const propTypes = {
|
||||
|
||||
const defaultProps = {
|
||||
locale: undefined,
|
||||
approved: undefined,
|
||||
approved: false,
|
||||
meetingExist: false,
|
||||
subscriptionsReady: false,
|
||||
};
|
||||
@ -227,7 +227,7 @@ const BaseContainer = withTracker(() => {
|
||||
if (meetingEnded) Session.set('codeError', '410');
|
||||
}
|
||||
|
||||
const approved = Users.findOne({ userId: Auth.userID, approved: true, guest: true });
|
||||
const approved = !!Users.findOne({ userId: Auth.userID, approved: true, guest: true });
|
||||
const ejected = Users.findOne({ userId: Auth.userID, ejected: true });
|
||||
if (Session.get('codeError')) {
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user