Skip to content

Commit

Permalink
Merge pull request #190 from melnikga/feat/hardcode-version
Browse files Browse the repository at this point in the history
Hardcoded Cairo version
  • Loading branch information
barabanovro authored Sep 3, 2024
2 parents 21bfa67 + 504a1f2 commit 309f63b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions components/Editor/EditorFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
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'
import ToggleFullScreen from '../ToggleFullScreen'
import ToggleThreeColumnLayout from '../ToggleThreeColumnLayout'

function EditorFooter({ withoutContent = false }) {
const { cairoLangCompilerVersion } = useContext(CairoVMApiContext)
const { isFullScreen } = useContext(AppUiContext)
return (
<div
Expand All @@ -18,11 +16,7 @@ function EditorFooter({ withoutContent = false }) {
!isFullScreen && 'rounded-b-lg',
)}
>
<span>
{cairoLangCompilerVersion !== ''
? `Cairo Compiler v${cairoLangCompilerVersion}`
: ' '}
</span>
<span>Cairo Compiler v2.6.3</span>

{isFullScreen && (
<div className="flex items-center justify-end divide-x divide-gray-200 dark:divide-black-500">
Expand Down

0 comments on commit 309f63b

Please sign in to comment.