Login:App:Confirm: remove unnecessary fragments
This commit is contained in:
parent
8cec58ae4d
commit
93ebfdbdb3
@ -29,10 +29,7 @@ import { FormWrapper } from "@docspace/shared/components/form-wrapper";
|
||||
import { getSettings, getUserFromConfirm } from "@/utils/actions";
|
||||
|
||||
import ActivateUserForm from "@/components/ActivateUserForm";
|
||||
import {
|
||||
GreetingCleateUserContainer,
|
||||
GreetingContainer,
|
||||
} from "@/components/GreetingContainer";
|
||||
import { GreetingCleateUserContainer } from "@/components/GreetingContainer";
|
||||
|
||||
type ActivationProps = {
|
||||
searchParams: { [key: string]: string };
|
||||
@ -44,7 +41,6 @@ async function Page({ searchParams }: ActivationProps) {
|
||||
const settings = await getSettings();
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="content-top">
|
||||
{settings && typeof settings !== "string" && (
|
||||
<>
|
||||
@ -55,7 +51,6 @@ async function Page({ searchParams }: ActivationProps) {
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -44,13 +44,11 @@ async function Page({ searchParams }: ProfileRemoveProps) {
|
||||
return (
|
||||
<div className="content-center">
|
||||
{settings && typeof settings !== "string" && (
|
||||
<>
|
||||
<ProfileRemoveForm
|
||||
greetingSettings={settings.greetingSettings}
|
||||
legalTerms={settings.legalTerms}
|
||||
currentColorScheme={currentColorScheme}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user