forked from Transparency/kgroad-frontend2
Merge branch 'ali' of gitea.fishrungames.com:Transparency/kgroad-frontend2 into ali
This commit is contained in:
commit
b885c9c9bc
14 files changed
+255
-30
No files matched your search
@@ -11,7 +11,6 @@ import React from "react";
|
||||
|
||||
const Personal = async () => {
|
||||
const session = await getServerSession(authConfig);
|
||||
console.log(session?.expires_in);
|
||||
const getProfile = async () => {
|
||||
const Authorization = `Bearer ${session?.access_token}`;
|
||||
const config = {
|
||||
|
||||
@@ -6,7 +6,6 @@ import ReportInformation from "@/widgets/report-details/ReportInformation/Report
|
||||
import ReportImages from "@/widgets/report-details/ReportImages/ReportImages";
|
||||
import dynamic from "next/dynamic";
|
||||
import BreadCrumbs from "@/features/BreadCrumbs/BreadCrumbs";
|
||||
import NotFound from "@/widgets/NotFound/NotFound";
|
||||
import { apiInstance } from "@/shared/config/apiConfig";
|
||||
|
||||
const DynamicMap = dynamic(
|
||||
@@ -26,11 +25,11 @@ export async function generateMetadata({
|
||||
);
|
||||
|
||||
return {
|
||||
title: `KG ROAD | ${response.data.location[0].address}`,
|
||||
description: response.data.description,
|
||||
title: `KG ROAD | ${response.data.description}`,
|
||||
description: `${response.data.location[0].address}, ${response.data.description}`,
|
||||
openGraph: {
|
||||
title: `KG ROAD | ${response.data.location[0].address}`,
|
||||
description: response.data.description,
|
||||
title: `KG ROAD | ${response.data.description}`,
|
||||
description: `${response.data.location[0].address}, ${response.data.description}`,
|
||||
images: [response.data.image[0].image],
|
||||
type: "article",
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user