fix: add cache control to fetch requests in Header and ReferralManagement pages
This commit is contained in:
parent
181eeab4f8
commit
2fed9b4b8b
@ -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',
|
||||
|
||||
@ -130,6 +130,7 @@ function ReferralManagementPageInner() {
|
||||
try {
|
||||
const res = await fetch(url, {
|
||||
method: 'GET',
|
||||
cache: 'no-store',
|
||||
credentials: 'include',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user