12 lines
251 B
JavaScript
Executable File
12 lines
251 B
JavaScript
Executable File
import React from 'react';
|
|
import Auth from '/imports/ui/services/auth/index.js';
|
|
import Users from '/imports/api/users';
|
|
|
|
const isUserPresenter = () => Users.findOne({
|
|
userId: Auth.userID,
|
|
}).user.presenter;
|
|
|
|
export default {
|
|
isUserPresenter,
|
|
};
|