chore: remove unneeded props from AuthContainer and make its usages cleaner (#19191)
* refactor AuthContainer by removing app-dir related props * fix
This commit is contained in:
1 parent
207804bd97
commit
4f226cd653
6 files changed
+4
-17
No files matched your search
@@ -23,7 +23,7 @@ const ServerPage = async ({ searchParams }: PageProps) => {
|
||||
const { error } = querySchema.parse({ error: searchParams?.error || undefined });
|
||||
const errorMsg = t("error_during_login") + (error ? ` Error code: ${error}` : "");
|
||||
return (
|
||||
<AuthContainer title="" description="" isAppDir={true}>
|
||||
<AuthContainer>
|
||||
<div>
|
||||
<div className="bg-error mx-auto flex h-12 w-12 items-center justify-center rounded-full">
|
||||
<Icon name="x" className="h-6 w-6 text-red-600" />
|
||||
|
||||
Reference in new issue
Block a user