N-FIN-48: fix sign out button layout
This commit is contained in:
parent
74bb618706
commit
47c094ba72
1 changed files with 11 additions and 7 deletions
|
@ -81,14 +81,18 @@ export default async function AccountPage() {
|
|||
</div>
|
||||
</div>
|
||||
</CardContent>
|
||||
<CardFooter className="grid gap-4 grid-cols-1 md:grid-cols-2">
|
||||
{
|
||||
process.env.NODE_ENV === 'development' && (
|
||||
{
|
||||
process.env.NODE_ENV === 'development' ? (
|
||||
<CardFooter className="grid gap-4 grid-cols-1 md:grid-cols-2">
|
||||
<GenerateSampleDataForm onSubmit={generateSampleData}/>
|
||||
)
|
||||
}
|
||||
<SignOutForm onSubmit={signOut}/>
|
||||
</CardFooter>
|
||||
<SignOutForm onSubmit={signOut}/>
|
||||
</CardFooter>
|
||||
) : (
|
||||
<CardFooter>
|
||||
<SignOutForm onSubmit={signOut}/>
|
||||
</CardFooter>
|
||||
)
|
||||
}
|
||||
</Card>
|
||||
<div className="flex w-full items-center justify-between max-w-md mt-2 text-neutral-600">
|
||||
<p>Version {process.env.appVersion}</p>
|
||||
|
|
Loading…
Add table
Reference in a new issue