fix init values

pull/5270/head
yann300 1 month ago committed by Aniket
parent d9dcb162ce
commit dd910dc2db
  1. 6
      libs/remix-ui/renderer/src/lib/renderer.tsx

@ -27,9 +27,9 @@ export const Renderer = ({ message, opt, plugin }: RendererProps) => {
useSpan: false, useSpan: false,
type: '', type: '',
errorType: '', errorType: '',
errCol: -1, errCol: undefined,
errLine: -1, errLine: undefined,
errFile: '' errFile: undefined
}) })
const [classList, setClassList] = useState(opt.type === 'error' ? 'alert alert-danger' : 'alert alert-warning') const [classList, setClassList] = useState(opt.type === 'error' ? 'alert alert-danger' : 'alert alert-warning')
const [close, setClose] = useState(false) const [close, setClose] = useState(false)

Loading…
Cancel
Save