Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
mvoloshin0458 committed Jan 7, 2025
1 parent c7b9209 commit 1f81286
Showing 1 changed file with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import React, { memo, useEffect, useId, useMemo, useRef, useState } from 'react'
import AceEditor from 'react-ace'
import React, {
lazy,
memo,
useEffect,
useId,
useMemo,
useRef,
useState
} from 'react'
import { EMPTY_STRING } from 'consts'
import Copy from '../../../Copy'
import { useToggle } from 'hooks'
Expand All @@ -20,8 +27,10 @@ import clsx from 'clsx'
import { useTextEditorContext } from '../../context'
import Loader from '../../../Loader'

import 'ace-builds/src-noconflict/mode-json'
import 'ace-builds/src-min-noconflict/ext-searchbox'
const AceEditor = lazy(() => import('react-ace'))

// import 'ace-builds/src-noconflict/mode-json'
// import 'ace-builds/src-min-noconflict/ext-searchbox'

import './textEditorFull.scss'

Expand Down

0 comments on commit 1f81286

Please sign in to comment.