Skip to content

Commit 189f016

Browse files
committed
Remove unnecessary wrapper around account page header
1 parent 16335b1 commit 189f016

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

frontend/src/routes/_account.lazy.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ function Account(): React.ReactElement {
2929
return (
3030
<Layout wide>
3131
<div className="flex flex-col gap-10">
32-
<header className="flex justify-between items-center">
33-
<Heading size="md" weight="semibold">
34-
{t("frontend.account.title")}
35-
</Heading>
36-
</header>
32+
<Heading size="md" weight="semibold">
33+
{t("frontend.account.title")}
34+
</Heading>
3735

3836
<div className="flex flex-col gap-4">
3937
<UserGreeting user={viewer} siteConfig={siteConfig} />

frontend/tests/routes/account/__snapshots__/index.test.tsx.snap

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -300,15 +300,11 @@ exports[`Account home page > renders the page 1`] = `
300300
<div
301301
class="flex flex-col gap-10"
302302
>
303-
<header
304-
class="flex justify-between items-center"
303+
<h1
304+
class="_typography_yh5dq_162 _font-heading-md-semibold_yh5dq_121"
305305
>
306-
<h1
307-
class="_typography_yh5dq_162 _font-heading-md-semibold_yh5dq_121"
308-
>
309-
Your account
310-
</h1>
311-
</header>
306+
Your account
307+
</h1>
312308
<div
313309
class="flex flex-col gap-4"
314310
>

0 commit comments

Comments
 (0)