Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
FirebaseAuthProvider
} from "react-admin-firebase";
import UserIcon from '@material-ui/icons/People';
import { firebaseConfig } from './FIREBASE_CONFIG';
import CustomLoginPage from './CustomLoginPage';
const options = {
logging: true,
rootRef: 'rootrefcollection/QQG2McwjR2Bohi9OwQzP',
// app: firebaseAppInstance
// watch: ['posts'];
// dontwatch: ['comments'];
}
const authProvider = FirebaseAuthProvider(firebaseConfig, options);
const dataProvider = FirebaseDataProvider(firebaseConfig, options);
const firebaseRealtime = FirebaseRealTimeSaga(dataProvider, options);
class App extends React.Component {
render() {
return (
} from "react-admin-firebase";
import UserIcon from '@material-ui/icons/People';
import { firebaseConfig } from './FIREBASE_CONFIG';
import CustomLoginPage from './CustomLoginPage';
const options = {
logging: true,
rootRef: 'rootrefcollection/QQG2McwjR2Bohi9OwQzP',
// app: firebaseAppInstance
// watch: ['posts'];
// dontwatch: ['comments'];
}
const authProvider = FirebaseAuthProvider(firebaseConfig, options);
const dataProvider = FirebaseDataProvider(firebaseConfig, options);
const firebaseRealtime = FirebaseRealTimeSaga(dataProvider, options);
class App extends React.Component {
render() {
return (
import UserIcon from '@material-ui/icons/People';
import { firebaseConfig } from './FIREBASE_CONFIG';
import CustomLoginPage from './CustomLoginPage';
const options = {
logging: true,
rootRef: 'rootrefcollection/QQG2McwjR2Bohi9OwQzP',
// app: firebaseAppInstance
// watch: ['posts'];
// dontwatch: ['comments'];
}
const authProvider = FirebaseAuthProvider(firebaseConfig, options);
const dataProvider = FirebaseDataProvider(firebaseConfig, options);
const firebaseRealtime = FirebaseRealTimeSaga(dataProvider, options);
class App extends React.Component {
render() {
return (