Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
94dd0280
Commit
94dd0280
authored
Aug 17, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove currentFile dep
parent
8a83cc35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
solidity-compiler.tsx
.../remix-ui/solidity-compiler/src/lib/solidity-compiler.tsx
+2
-1
index.ts
libs/remix-ui/solidity-compiler/src/lib/types/index.ts
+0
-1
No files found.
libs/remix-ui/solidity-compiler/src/lib/solidity-compiler.tsx
View file @
94dd0280
...
...
@@ -9,7 +9,7 @@ import { Renderer } from '@remix-ui/renderer' // eslint-disable-line
import
'./css/style.css'
export
const
SolidityCompiler
=
(
props
:
SolidityCompilerProps
)
=>
{
const
{
plugin
,
plugin
:
{
compileTabLogic
,
currentFile
,
fileProvider
,
fileManager
,
contractsDetails
,
contractMap
,
compileErrors
,
isHardHatProject
,
setHardHatCompilation
,
configurationSettings
}
}
=
props
const
{
plugin
,
plugin
:
{
compileTabLogic
,
fileProvider
,
fileManager
,
contractsDetails
,
contractMap
,
compileErrors
,
isHardHatProject
,
setHardHatCompilation
,
configurationSettings
}
}
=
props
const
[
state
,
setState
]
=
useState
({
contractsDetails
:
{},
eventHandlers
:
{},
...
...
@@ -75,6 +75,7 @@ export const SolidityCompiler = (props: SolidityCompilerProps) => {
</
div
>
)
const
currentFile
=
plugin
.
getConfiguration
(
'currentFile'
)
return
(
<>
<
div
id=
"compileTabView"
>
...
...
libs/remix-ui/solidity-compiler/src/lib/types/index.ts
View file @
94dd0280
...
...
@@ -6,7 +6,6 @@ export interface SolidityCompilerProps {
compileErrors
:
any
,
isHardHatProject
:
boolean
,
compileTabLogic
:
any
,
currentFile
:
string
,
contractsDetails
:
Record
<
string
,
any
>
,
fileProvider
:
any
,
fileManager
:
any
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment