From 504a1f2ad32747702707861c1db0636b6e32a687 Mon Sep 17 00:00:00 2001 From: Melnik George Date: Mon, 2 Sep 2024 21:46:35 +0300 Subject: [PATCH] Hardcoded Cairo version --- components/Editor/EditorFooter.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/components/Editor/EditorFooter.tsx b/components/Editor/EditorFooter.tsx index 0e5b857..6c509a7 100644 --- a/components/Editor/EditorFooter.tsx +++ b/components/Editor/EditorFooter.tsx @@ -1,7 +1,6 @@ import { useContext } from 'react' import { AppUiContext } from '../../context/appUiContext' -import { CairoVMApiContext } from '../../context/cairoVMApiContext' import { cn } from '../../util/styles' import KBarButton from '../KBar/Button' import ThemeSelector from '../ThemeSelector' @@ -9,7 +8,6 @@ import ToggleFullScreen from '../ToggleFullScreen' import ToggleThreeColumnLayout from '../ToggleThreeColumnLayout' function EditorFooter({ withoutContent = false }) { - const { cairoLangCompilerVersion } = useContext(CairoVMApiContext) const { isFullScreen } = useContext(AppUiContext) return (
- - {cairoLangCompilerVersion !== '' - ? `Cairo Compiler v${cairoLangCompilerVersion}` - : ' '} - + Cairo Compiler v2.6.3 {isFullScreen && (