diff --git a/app/[locale]/account/settings/page.tsx b/app/[locale]/account/settings/page.tsx
new file mode 100644
index 0000000..f4cab95
--- /dev/null
+++ b/app/[locale]/account/settings/page.tsx
@@ -0,0 +1,33 @@
+import { FC, Suspense } from 'react';
+import { Main } from '@/app/ui/Main';
+import { UserSettingsForm as UserSettingsForm, UserSettingsFormSkeleton } from '@/app/ui/UserSettingsForm';
+import { getUserSettings } from '@/app/lib/actions/userSettingsActions';
+
+const UserSettingsPage: FC = async () => {
+ const userSettings = await getUserSettings();
+
+ return (
+
+
+
+
+
+ );
+};
+
+const Page: FC = () => {
+ return (
+
+
+
+ }>
+
+
+ );
+};
+
+export default Page;
diff --git a/app/lib/auth.ts b/app/lib/auth.ts
index 5c09a61..dac126a 100644
--- a/app/lib/auth.ts
+++ b/app/lib/auth.ts
@@ -35,8 +35,8 @@ export const authConfig: NextAuthConfig = {
// see: https://stackoverflow.com/questions/70409219/get-user-id-from-session-in-next-auth-client
jwt({ token, account, user }) {
if (account) {
- // console.log("(jwt) account:", account);
- // console.log("(jwt) user:", user);
+ // console.log("(JWT) account:", account);
+ // console.log("(JWT) user:", user);
token.accessToken = account.access_token;
// attach Google account ID to the token
token.piggyback_providerAccountId = account.providerAccountId;
@@ -51,7 +51,7 @@ export const authConfig: NextAuthConfig = {
if(session.user && token) {
// assign Google account ID from the token to the Session user ID
session.user.id = token.piggyback_providerAccountId;
- // console.log("(jwt) token:", token);
+// console.log("(SESSION) token:", token);
}
return session;
},
diff --git a/app/ui/PageHeader.tsx b/app/ui/PageHeader.tsx
index 2c02d7e..04d2b15 100644
--- a/app/ui/PageHeader.tsx
+++ b/app/ui/PageHeader.tsx
@@ -1,7 +1,7 @@
import Image from "next/image";
import Link from "next/link";
import { SelectLanguage } from "./SelectLanguage";
-import Settings from "@mui/icons-material/Settings";
+import AccountCircle from "@mui/icons-material/AccountCircle";
export const PageHeader = () =>
@@ -9,6 +9,6 @@ export const PageHeader = () =>
-
+
\ No newline at end of file