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
dd33715e
Commit
dd33715e
authored
Jun 25, 2021
by
aniket-engg
Committed by
Aniket
Jul 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
visibility to display
parent
ee3eb518
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
remix-ui-static-analyser.tsx
...x-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
+2
-2
No files found.
libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
View file @
dd33715e
...
@@ -58,7 +58,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
...
@@ -58,7 +58,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
const
[
slitherEnabled
,
setSlitherEnabled
]
=
useState
(
false
)
const
[
slitherEnabled
,
setSlitherEnabled
]
=
useState
(
false
)
const
[
showSlither
,
setShowSlither
]
=
useState
(
'hidden'
)
const
[
showSlither
,
setShowSlither
]
=
useState
(
'hidden'
)
// Show checkbox to select to display only Slither Analysis
// Show checkbox to select to display only Slither Analysis
const
[
showSlitherResult
,
setShowSlitherResult
]
=
useState
(
'
hidden
'
)
const
[
showSlitherResult
,
setShowSlitherResult
]
=
useState
(
'
none
'
)
const
[
slitherResultEnabled
,
setSlitherResultEnabled
]
=
useState
(
false
)
const
[
slitherResultEnabled
,
setSlitherResultEnabled
]
=
useState
(
false
)
const
[
categoryIndex
,
setCategoryIndex
]
=
useState
(
groupedModuleIndex
(
groupedModules
))
const
[
categoryIndex
,
setCategoryIndex
]
=
useState
(
groupedModuleIndex
(
groupedModules
))
...
@@ -261,7 +261,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
...
@@ -261,7 +261,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
warningMessage
.
push
({
msg
,
options
,
hasWarning
:
true
,
warningModuleName
:
'Slither Analysis'
})
warningMessage
.
push
({
msg
,
options
,
hasWarning
:
true
,
warningModuleName
:
'Slither Analysis'
})
})
})
showWarnings
(
warningMessage
,
'warningModuleName'
)
showWarnings
(
warningMessage
,
'warningModuleName'
)
setShowSlitherResult
(
'
visible
'
)
setShowSlitherResult
(
'
block
'
)
props
.
event
.
trigger
(
'staticAnaysisWarning'
,
[
warningCount
])
props
.
event
.
trigger
(
'staticAnaysisWarning'
,
[
warningCount
])
}
}
}).
catch
((
error
)
=>
{
}).
catch
((
error
)
=>
{
...
...
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