Skip to content

Commit

Permalink
refactor: remove unecessary spread props History/index.jsx file
Browse files Browse the repository at this point in the history
  • Loading branch information
wrspada02 committed Sep 30, 2024
1 parent e09e9b4 commit ad9aae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/components/stories/History/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React from 'react';
import PropTypes from 'prop-types';
import HistoryItem from './HistoryItem';

const History = ({ history, ...props }) => (
<div className="History" {...props}>
const History = ({ history }) => (
<div className="History">
{history.map(item => (
<HistoryItem
key={item.activity.id}
Expand Down

0 comments on commit ad9aae9

Please sign in to comment.