Removed key as props from My Collection
This commit is contained in:
parent
197ac22aea
commit
a747bdbc3c
1 changed files with 2 additions and 3 deletions
|
|
@ -2,16 +2,15 @@ import ComponentsComponent from "../componentsComponent";
|
||||||
import HeaderTabsSearchComponent from "./components/headerTabsSearchComponent";
|
import HeaderTabsSearchComponent from "./components/headerTabsSearchComponent";
|
||||||
|
|
||||||
type MyCollectionComponentProps = {
|
type MyCollectionComponentProps = {
|
||||||
key: string;
|
|
||||||
type: string;
|
type: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
const MyCollectionComponent = ({ key, type }: MyCollectionComponentProps) => {
|
const MyCollectionComponent = ({ type }: MyCollectionComponentProps) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<HeaderTabsSearchComponent />
|
<HeaderTabsSearchComponent />
|
||||||
<div className="mt-5 flex h-full flex-col">
|
<div className="mt-5 flex h-full flex-col">
|
||||||
<ComponentsComponent key={key} type={type} />
|
<ComponentsComponent key={type} type={type} />
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue