This reverts commit 664a92a1d0.
This commit is contained in:
1 parent
f5dbdae4a9
commit
8f91ffe692
14 files changed
+176
-25
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-7
@@ -1,6 +1,5 @@
|
||||
import { _generateMetadata } from "app/_utils";
|
||||
import { getFixedT } from "app/_utils";
|
||||
import { revalidatePath } from "next/cache";
|
||||
|
||||
import { getServerSessionForAppDir } from "@calcom/feature-auth/lib/get-server-session-for-app-dir";
|
||||
import SettingsHeader from "@calcom/features/settings/appDir/SettingsHeader";
|
||||
@@ -17,14 +16,9 @@ const Page = async () => {
|
||||
const session = await getServerSessionForAppDir();
|
||||
|
||||
const t = await getFixedT(session?.user.locale || "en");
|
||||
const revalidatePage = async () => {
|
||||
"use server";
|
||||
revalidatePath("settings/my-account/general");
|
||||
};
|
||||
|
||||
return (
|
||||
<SettingsHeader title={t("general")} description={t("general_description")} borderInShellHeader={true}>
|
||||
<GeneralQueryView revalidatePage={revalidatePage} />
|
||||
<GeneralQueryView />
|
||||
</SettingsHeader>
|
||||
);
|
||||
};
|
||||
File renamed without changes.
Reference in new issue
Block a user