Skip to content

Commit dab6e8d

Browse files
author
ci-bot
committed
rm refs
1 parent 43bb2de commit dab6e8d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

apps/remix-ide/src/app/components/preload.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ export const Preload = (props: PreloadProps) => {
2525
const [supported, setSupported] = useState<boolean>(true)
2626
const [error, setError] = useState<boolean>(false)
2727
const [showDownloader, setShowDownloader] = useState<boolean>(false)
28-
const containerRef = useRef<HTMLDivElement>(null)
29-
const mainRef = useRef<HTMLDivElement>(null)
3028
const remixFileSystems = useRef<fileSystems>(new fileSystems())
3129
const remixIndexedDB = useRef<fileSystem>(new indexedDBFileSystem())
3230
const localStorageFileSystem = useRef<fileSystem>(new localStorageFS())
@@ -142,8 +140,8 @@ export const Preload = (props: PreloadProps) => {
142140

143141
return (
144142
<>
145-
<div className="preload-container" ref={containerRef}>
146-
<div className="preload-main" ref={mainRef}>
143+
<div className="preload-container" >
144+
<div className="preload-main">
147145
<div className="preload-logo text-center">
148146
<img src="assets/img/remix-logo-blue.png" alt="Remix logo" width="64" height="64" />
149147
<div className="preload-title">REMIX IDE</div>

0 commit comments

Comments
 (0)