Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react';
  2.  
  3. import { connect } from 'react-redux';
  4.  
  5. const FOOTER = 'FOOTER';
  6.  
  7. export const reduceState = (state, action) => {
  8.   if (action.source !== FOOTER) {
  9.     return {
  10.       ...state
  11.     };
  12.   }
  13.  
  14.   switch (action.type) {
  15.     default:
  16.       return {
  17.         ...state
  18.       };
  19.   }
  20. };
  21.  
  22. const Footer = () => {
  23.   return (
  24.     <footer className="footer text-center">
  25.       All Rights Reserved. Copyright &copy; 2019 <a href="https://glasscomb.com">GlassComb</a>.
  26.     </footer>
  27.   );
  28. };
  29.  
  30. const mapStateToProps = (state, ownProps) => {
  31.   return {};
  32. };
  33.  
  34. const mapDispatchToProps = (dispatch, ownProps) => {
  35.   return {};
  36. };
  37.  
  38. export default connect(mapStateToProps, mapDispatchToProps)(Footer);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement