Skip to content

Commit

Permalink
refactor: 473 - change props type name
Browse files Browse the repository at this point in the history
  • Loading branch information
thirdmadman committed Sep 12, 2024
1 parent 384b3c2 commit de514c8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/entities/trainer/ui/trainers-card/trainer-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import styles from './trainer-card.module.scss';

const cx = classNames.bind(styles);

type TrainerProps = Trainer;

export const TrainerCard = ({ name, bio, role, photo }: TrainerProps) => {
export const TrainerCard = ({ name, bio, role, photo }: Trainer) => {
return (
<article className={cx('trainer-card')}>
<div className={cx('card-picture')}>
Expand Down

0 comments on commit de514c8

Please sign in to comment.