Skip to content

Commit df99ac4

Browse files
committed
make breadcrumbs sticky
1 parent c00c883 commit df99ac4

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

app/[locale]/dashboard/[entityType]/page.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ const Page = () => {
9898
return notFound();
9999
}
100100
return (
101-
<div className=" bg-surfaceDefault">
102-
<div>
101+
<>
103102
<BreadCrumbs
104103
data={[
105104
{ href: '/', label: 'Home' },
@@ -115,8 +114,7 @@ const Page = () => {
115114
},
116115
]}
117116
/>
118-
</div>
119-
<div className="m-auto flex w-11/12 flex-col">
117+
<div className="m-auto flex w-11/12 flex-col">
120118
{allEntitiesList.isLoading ? (
121119
<LoadingPage />
122120
) : (
@@ -229,7 +227,7 @@ const Page = () => {
229227
</div>
230228
)}
231229
</div>
232-
</div>
230+
</>
233231
);
234232
};
235233

app/[locale]/dashboard/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const UserDashboard = () => {
2121
];
2222

2323
return (
24-
<div>
24+
<>
2525
<BreadCrumbs
2626
data={[
2727
{ href: '/', label: 'Home' },
@@ -49,7 +49,7 @@ const UserDashboard = () => {
4949
))}
5050
</div>
5151
</div>
52-
</div>
52+
</>
5353
);
5454
};
5555

0 commit comments

Comments
 (0)