refactor: TabContainer
This commit is contained in:
@@ -196,9 +196,7 @@ function AboutPage({ data }: Readonly<{ data: AboutDataModel; }>) {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<TabContainer
|
||||
|
||||
className='h-[72px] !pt-3 !pb-2 overflow-y-hidden'>
|
||||
<TabContainer>
|
||||
<TabHeader
|
||||
viewRenderer={firstTab()}
|
||||
title='درباره ما' icon={<InfoCircle size={24} />}>
|
||||
|
||||
@@ -157,9 +157,7 @@ function OrdersIndex() {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<TabContainer
|
||||
|
||||
className='h-[72px] !pt-3 !pb-2 overflow-y-hidden'>
|
||||
<TabContainer>
|
||||
<TabHeader
|
||||
viewRenderer={<PerformantTabRenderer rowHeight={310}>{firstTab()}</PerformantTabRenderer>}
|
||||
title={categories[0].title} imageSrc={categories[0].image}>
|
||||
|
||||
Reference in New Issue
Block a user