diff --git a/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx b/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx
index 41cee3e180..0442d36ac1 100644
--- a/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx
+++ b/libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx
@@ -13,6 +13,7 @@ export interface RemixUiCheckboxProps {
itemName?: string
categoryId?: string
visibility?: string
+ display?: string
}
export const RemixUiCheckbox = ({
@@ -25,10 +26,11 @@ export const RemixUiCheckbox = ({
onChange,
itemName,
categoryId,
- visibility
+ visibility,
+ display
}: RemixUiCheckboxProps) => {
return (
-
+
{
const [slitherEnabled, setSlitherEnabled] = useState(false)
const [showSlither, setShowSlither] = useState('hidden')
// 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 [categoryIndex, setCategoryIndex] = useState(groupedModuleIndex(groupedModules))
@@ -255,14 +255,14 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
warningMessage.push({ msg, options, hasWarning: true, warningModuleName: 'Slither Analysis' })
})
showWarnings(warningMessage, 'warningModuleName')
- setShowSlitherResult('visible')
+ setShowSlitherResult('block')
props.event.trigger('staticAnaysisWarning', [warningCount])
}
})
})
} else {
showWarnings(warningMessage, 'warningModuleName')
- setShowSlitherResult('hidden')
+ setShowSlitherResult('node')
if (categoryIndex.length > 0) {
props.event.trigger('staticAnaysisWarning', [warningCount])
}
@@ -458,7 +458,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
checked={slitherResultEnabled}
label="Show Only Slither Analysis"
onChange={() => {}}
- visibility = {showSlitherResult}
+ display = {showSlitherResult}
/>