added warning sign when analysis has runned

rebasin
pull/1104/head
tizah 4 years ago committed by tizah
parent 97663b3859
commit 2c0fa1dd50
  1. 4
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -1,4 +1,3 @@
import React, { useEffect, useState, useReducer } from 'react'
import Button from './Button/StaticAnalyserButton' // eslint-disable-line
import remixLib from '@remix-project/remix-lib'
@ -71,7 +70,10 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
if (state.data !== null) {
run(state.data, state.source, state.file)
}
} else {
setAutoRun(true)
}
return () => { }
}, [autoRun, categoryIndex, state])

Loading…
Cancel
Save