Skip to content

Commit

Permalink
Update layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
evereq authored May 18, 2024
1 parent 4a95b68 commit 341b570
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions apps/web/app/[locale]/settings/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const SettingsLayout = ({ children }: { children: JSX.Element }) => {
{ title: t('common.SETTINGS'), href: pathName as string },
{ title: t(`common.${endWord}`), href: pathName as string }
];
console.log('breadcrumb', breadcrumb);

if (!user) {
return <SettingsPersonalSkeleton />;
} else {
Expand All @@ -39,14 +39,12 @@ const SettingsLayout = ({ children }: { children: JSX.Element }) => {
<Container
fullWidth={fullWidth}
className={clsxm('w-full mt-4 flex flex-row items-center justify-start gap-8')}
>
{/* <div className=""> */}
>
<Link href="/">
<ArrowLeftIcon className="w-6 h-6" />
</Link>

<Breadcrumb paths={breadcrumb} className="text-sm" />
{/* </div> */}
<Breadcrumb paths={breadcrumb} className="text-sm" />
</Container>
</div>
<Container fullWidth={fullWidth} className={clsxm('!p-0')}>
Expand Down

0 comments on commit 341b570

Please sign in to comment.