Update host setting in auth-callback and add className prop to UI page
Included a conditional to check and update host settings in the 'auth-callback.service.ts' file to avoid incorrect host setting outside of Vercel. Additionally, added a className prop to the Page component in the UI package to enhance customization capabilities.
This commit is contained in:
@@ -141,12 +141,19 @@ export function PageHeader({
|
||||
children,
|
||||
title,
|
||||
description,
|
||||
className,
|
||||
}: React.PropsWithChildren<{
|
||||
className?: string;
|
||||
title?: string | React.ReactNode;
|
||||
description?: string | React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<div className={'flex h-20 items-center justify-between lg:px-4'}>
|
||||
<div
|
||||
className={cn(
|
||||
'flex h-20 items-center justify-between lg:px-4',
|
||||
className,
|
||||
)}
|
||||
>
|
||||
{title ? (
|
||||
<div className={'flex flex-col space-y-1.5'}>
|
||||
<PageTitle>{title}</PageTitle>
|
||||
|
||||
Reference in New Issue
Block a user