Skip to content

Commit

Permalink
refactor: clean up a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
shalluv committed Oct 11, 2024
1 parent 05b8238 commit 637cda8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
6 changes: 1 addition & 5 deletions src/app/form/[id]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@ export default async function FormLayout({
}: Readonly<{
children: React.ReactNode
}>) {
return (
<div className='flex size-full flex-col items-center justify-start gap-8 px-5 py-8'>
<FormProvider>{children}</FormProvider>
</div>
)
return <FormProvider>{children}</FormProvider>
}
2 changes: 1 addition & 1 deletion src/app/form/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function Page({ params: { id } }: PageProps) {
}

return (
<div>
<div className='flex size-full flex-col items-center justify-start gap-8 px-5 py-8'>
<FormHeader form={form} />
<FormContainer>
<form
Expand Down
11 changes: 0 additions & 11 deletions src/components/Button/index.test.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/Button/index.tsx

This file was deleted.

0 comments on commit 637cda8

Please sign in to comment.