import React from 'react';
import './MyReset.css';
import { useDispatch } from 'react-redux';

export default function MyReset() {
  const dispatch = useDispatch();

  return (
    <div>
      <button className="button" onClick={() => dispatch({ type: 'font/reset' })}>R</button>
    </div>
  );
}
