pull/5370/head
Joseph Izang 2 years ago committed by Aniket
parent 5a2b22d790
commit 2d6d6b4965
  1. 3
      libs/remix-ui/workspace/src/lib/components/file-explorer.tsx

@ -12,7 +12,7 @@ import domToPdf from 'dom-to-pdf'
import { jsPDF } from 'jspdf'
import { convertAST2UmlClasses } from 'sol2uml'
import { createClient } from '@remixproject/plugin-webview'
import { PluginClient } from '@remixproject/plugin'
import '../css/file-explorer.css'
import { checkSpecialChars, extractNameFromKey, extractParentFromKey, joinPath } from '@remix-ui/helper'
@ -48,7 +48,6 @@ export const FileExplorer = (props: FileExplorerProps) => {
})
const [canPaste, setCanPaste] = useState(false)
const treeRef = useRef<HTMLDivElement>(null)
const [client, setClient] = useState(null)
const [isClientLoaded, setIsClientLoaded] = useState(false);
const [svgPayload, setSVGPayload] = useState('')
const [showViewer, setShowViewer] = useState(false)

Loading…
Cancel
Save