Skip to content

Commit

Permalink
fix: utilize cn, adding .env.example
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiwahpsp authored and shalluv committed Oct 4, 2024
1 parent a5b601d commit 8bb856f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ID_MAPPING_TABLE_ID=
NOCODB_BASE_URL=
NOCODB_XC_TOKEN=
NEXT_PUBLIC_BASE_URL=http://localhost:3000
7 changes: 5 additions & 2 deletions src/components/form/form-container.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import { cn } from '@/lib/utils'

export function FormContainer({
children,
Expand All @@ -9,7 +9,10 @@ export function FormContainer({
}) {
return (
<div
className={`flex w-full max-w-3xl flex-col gap-5 rounded-box border-default bg-white p-10 shadow-default ${className}`}
className={cn(
'flex w-full max-w-3xl flex-col gap-5 rounded-box border-default bg-white p-10 shadow-default',
className
)}
>
{children}
</div>
Expand Down

0 comments on commit 8bb856f

Please sign in to comment.