Commit dd33715e authored by aniket-engg's avatar aniket-engg Committed by Aniket

visibility to display

parent ee3eb518
...@@ -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) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment