Skip to content

Commit 62b198f

Browse files
committed
Force sidebar and breadcrumb updates
1 parent a52c0d4 commit 62b198f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/biorepo_components/BiorepoPage.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default function BiorepoPage() {
5353
if (!config) return;
5454
const fetchBreadcrumbs = async () => {
5555
try {
56-
const response = await fetch(`${config.CLIENT_ROOT}/neon-react/biorepo_lib/breadcrumbs.json`);
56+
const response = await fetch(`${config.CLIENT_ROOT}/neon-react/biorepo_lib/breadcrumbs.json?ts=${Date.now()}`);
5757
if (!response.ok) {
5858
throw new Error('Failed to fetch breadcrumbs');
5959
}
@@ -73,7 +73,7 @@ export default function BiorepoPage() {
7373

7474
const fetchSidebarLinks = async () => {
7575
try {
76-
const response = await fetch(`${config.CLIENT_ROOT}/neon-react/biorepo_lib/sidebar.json`);
76+
const response = await fetch(`${config.CLIENT_ROOT}/neon-react/biorepo_lib/sidebar.json?ts=${Date.now()}`);
7777
if (!response.ok) {
7878
throw new Error('Failed to fetch sidebar links');
7979
}

0 commit comments

Comments
 (0)