From 7734aed900ee2541262cf3445be05819e7f7608d Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Wed, 25 Sep 2024 15:47:13 +0200 Subject: [PATCH] Update landing-hero-github-stars.tsx --- website/src/refine-theme/landing-hero-github-stars.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/refine-theme/landing-hero-github-stars.tsx b/website/src/refine-theme/landing-hero-github-stars.tsx index 8528b7db..28a4ee1e 100644 --- a/website/src/refine-theme/landing-hero-github-stars.tsx +++ b/website/src/refine-theme/landing-hero-github-stars.tsx @@ -3,13 +3,13 @@ import clsx from 'clsx'; import { OrangeStarIcon } from './icons/orange-star'; export const LandingHeroGithubStars = () => { - const [version, setVersion] = useState('0.2'); // Default version + const [version, setVersion] = useState('0.3.0'); // Default version useEffect(() => { // Function to fetch version information const fetchVersion = async () => { try { - const response = await fetch('https://get.openpanel.co/version'); + const response = await fetch('https://openpanel.org/version'); const data = await response.text(); setVersion(data.trim()); // Update the version state } catch (error) {