add type interface LibraryViewProps
This commit is contained in:
parent
92f4a42eec
commit
1c6b1fc478
7 changed files with 17 additions and 32 deletions
|
@ -2,12 +2,9 @@
|
|||
import React, { FC, useCallback } from 'react';
|
||||
|
||||
import ViewItemsContainer from '../../components/common/ViewItemsContainer';
|
||||
import { LibraryViewProps } from '../../types/interface';
|
||||
|
||||
interface TrailersViewI {
|
||||
topParentId: string | null;
|
||||
}
|
||||
|
||||
const TrailersView: FC<TrailersViewI> = ({ topParentId }) => {
|
||||
const TrailersView: FC<LibraryViewProps> = ({ topParentId }) => {
|
||||
const getBasekey = useCallback(() => {
|
||||
return 'trailers';
|
||||
}, []);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue