feat: update table services

This commit is contained in:
hanif salafi 2025-03-03 13:31:34 +07:00
parent 35d828369a
commit 9cb44631a6
3 changed files with 5 additions and 8 deletions

View File

@ -357,7 +357,7 @@ export default function ExecutiveDashboard() {
</Card>
</div>
<div className="w-full mt-3">
<Card className="rounded-sm p-3 h-[850px]">
<Card className="rounded-sm p-3 h-[750px]">
<div className="flex flex-row justify-between">
<p className="text-base font-semibold">Konten Paling Populer</p>
<LucideBoxSelect />
@ -367,14 +367,14 @@ export default function ExecutiveDashboard() {
<iframe
src={`${baseUrl + view2 + param}`}
width="100%"
height="500"
height="650"
frameBorder="0"
/>
) : (
<iframe
src={`${`${url + ticket4}/${view2}${param}`}`}
width="100%"
height="500"
height="650"
frameBorder="0"
/>
)}
@ -382,7 +382,7 @@ export default function ExecutiveDashboard() {
</Card>
</div>
<div className="w-full mt-3">
<Card className="rounded-sm p-3 h-[850px]">
<Card className="rounded-sm p-3 h-[750px]">
<div className="flex flex-row justify-between">
<p className="text-base font-semibold">
Heatmap Konten Dengan Interaksi

View File

@ -7,7 +7,7 @@ const axiosBaseProdInstance = axios.create({
headers: {
"content-type": "application/json",
},
withCredentials: true,
withCredentials: false,
});
export default axiosBaseProdInstance;

View File

@ -41,7 +41,6 @@ export async function httpPostInterceptor(
headers?: any
) {
const resCsrf = await getCsrfToken();
const csrfToken = resCsrf?.data?.token;
const defaultHeaders = {
"Content-Type": "application/json",
@ -49,7 +48,6 @@ export async function httpPostInterceptor(
const mergedHeaders = {
...defaultHeaders,
...headers,
...(csrfToken ? { "X-XSRF-TOKEN": csrfToken } : {}),
};
const response = await axiosBaseProdInstance
@ -90,7 +88,6 @@ export async function httpPutInterceptor(
const mergedHeaders = {
...defaultHeaders,
...headers,
...(csrfToken ? { "X-XSRF-TOKEN": csrfToken } : {}),
};
const response = await axiosBaseProdInstance