mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
made comment block props type
This commit is contained in:
parent
c8d8aa356e
commit
b8c15cfd99
4 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
import React, { FC, memo, useMemo, useEffect } from 'react';
|
||||
import { ICommentBlock } from '~/constants/comment';
|
||||
import { ICommentBlockProps } from '~/constants/comment';
|
||||
import styles from './styles.scss';
|
||||
import { getYoutubeThumb } from '~/utils/dom';
|
||||
import { selectPlayer } from '~/redux/player/selectors';
|
||||
|
@ -16,9 +16,8 @@ const mapDispatchToProps = {
|
|||
};
|
||||
|
||||
type Props = ReturnType<typeof mapStateToProps> &
|
||||
typeof mapDispatchToProps & {
|
||||
block: ICommentBlock;
|
||||
};
|
||||
typeof mapDispatchToProps &
|
||||
ICommentBlockProps & {};
|
||||
|
||||
const CommentEmbedBlockUnconnected: FC<Props> = memo(
|
||||
({ block, youtubes, playerGetYoutubeInfo }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue