fix: force-dynamic on recharts pages (FIBEROPS-249) #21

Merged
kibin merged 1 commits from fix/force-dynamic-recharts-pages into main 2026-04-01 04:39:58 +00:00
3 changed files with 9 additions and 0 deletions
Showing only changes of commit 8a31ca0199 - Show all commits

View File

@@ -1,4 +1,7 @@
"use client"; "use client";
export const dynamic = "force-dynamic";
import { useState } from "react"; import { useState } from "react";
import { useQuery } from "@tanstack/react-query"; import { useQuery } from "@tanstack/react-query";

View File

@@ -1,4 +1,7 @@
"use client"; "use client";
export const dynamic = "force-dynamic";
import { useQuery, useMutation } from "@tanstack/react-query"; import { useQuery, useMutation } from "@tanstack/react-query";
import { useRouter } from "next/navigation"; import { useRouter } from "next/navigation";

View File

@@ -1,4 +1,7 @@
"use client"; "use client";
export const dynamic = "force-dynamic";
import { useState } from "react"; import { useState } from "react";
import { useQuery } from "@tanstack/react-query"; import { useQuery } from "@tanstack/react-query";