fix: add cache control to fetch requests in Header and ReferralManagement pages

This commit is contained in:
seaznCode 2026-01-18 21:09:20 +01:00
parent 181eeab4f8
commit 2fed9b4b8b
2 changed files with 2 additions and 0 deletions

View File

@ -207,6 +207,7 @@ export default function Header({ setGlobalLoggingOut }: HeaderProps) {
try {
const res = await fetch(url, {
method: 'GET',
cache: 'no-store',
credentials: 'include',
headers: {
'Content-Type': 'application/json',

View File

@ -130,6 +130,7 @@ function ReferralManagementPageInner() {
try {
const res = await fetch(url, {
method: 'GET',
cache: 'no-store',
credentials: 'include',
headers: {
'Content-Type': 'application/json',