Skip to content

Commit

Permalink
remove as=main
Browse files Browse the repository at this point in the history
  • Loading branch information
HalvorHaugan committed Sep 6, 2024
1 parent 33781a6 commit 992df7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const Example = () => {

if (formState.submitted)
return (
<Page.Block as="main" width="lg" gutters>
<Page.Block width="lg" gutters>
<VStack gap="8" align="center">
<Heading size="large">Demo slutt</Heading>
<Button
Expand All @@ -80,7 +80,7 @@ const Example = () => {
);

return (
<Page.Block as="main" width="lg" gutters>
<Page.Block width="lg" gutters>
<form onSubmit={onSubmit}>
<VStack gap="8">
<TextField
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Example = () => {

if (isSubmitSuccessful)
return (
<Page.Block as="main" width="lg" gutters>
<Page.Block width="lg" gutters>
<VStack gap="8" align="center">
<Heading size="large">Demo slutt</Heading>
<Button
Expand All @@ -54,7 +54,7 @@ const Example = () => {
);

return (
<Page.Block as="main" width="lg" gutters>
<Page.Block width="lg" gutters>
<form
onSubmit={(event) => {
handleSubmit(onValidSubmit)(event).then(() => {
Expand Down

0 comments on commit 992df7f

Please sign in to comment.