segunolalive/helloBooks

View on GitHub
client/reducers/initialState.js

Summary

Maintainability
A
0 mins
Test Coverage
export default {
  authReducer: {
    authLoading: false,
    user: {},
    isLoggedIn: false,
  },
  bookReducer: {
    books: [],
    pagination: {},
    categories: [],
    borrowedBooks: [],
    fetchingBooks: false,
    fetchingBorrowedBooks: false,
  },
  notificationReducer: {
    pagination: {},
    notifications: [],
    fetchingNotifications: false,
  },
  transactionReducer: {
    pagination: {},
    transactions: [],
    allBorrowed: [],
    fetchingHistory: false,
    fetchingTransactions: false,
  }
};