Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import { connect } from 'react-redux';
- const FOOTER = 'FOOTER';
- export const reduceState = (state, action) => {
- if (action.source !== FOOTER) {
- return {
- ...state
- };
- }
- switch (action.type) {
- default:
- return {
- ...state
- };
- }
- };
- const Footer = () => {
- return (
- <footer className="footer text-center">
- All Rights Reserved. Copyright © 2019 <a href="https://glasscomb.com">GlassComb</a>.
- </footer>
- );
- };
- const mapStateToProps = (state, ownProps) => {
- return {};
- };
- const mapDispatchToProps = (dispatch, ownProps) => {
- return {};
- };
- export default connect(mapStateToProps, mapDispatchToProps)(Footer);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement