import React, { useState, useEffect, useCallback, useMemo } from 'react';

// Redux part
import { useSelector, useDispatch } from 'react-redux';
import { StoreState } from 'store/rootReducer';

// Import actions here

import classNames from 'classnames/bind';
import TextItem from 'components/items/TextItem';
import StaticPage from 'components/pageItems/StaticPage';
import styleIdentifiers from './Terms.module.scss';

const styles = classNames.bind(styleIdentifiers);

export interface TermsProps {}

const Terms = (props: TermsProps) => {
  // mapStateToProps
  const lg = useSelector((state: StoreState) => state.content.lg);
  // Allow to dispatch actions
  const dispatch = useDispatch();

  return (
    <div className={styles('terms')}>
      <StaticPage title="pages.cgu.title" content="pages.cgu.text" />
    </div>
  );
};

export default Terms;
