mirror of https://github.com/prometheus/prometheus
[comments] change word ‘dependencie’ to ‘dependencies’ (#6904)
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>pull/6906/head
parent
45fbed94d6
commit
3fff701b77
|
@ -123,7 +123,7 @@ const PanelList: FC<RouteComponentProps & PathPrefixProps> = ({ pathPrefix = ''
|
|||
setDelta(Math.abs(browserTime - serverTime));
|
||||
}
|
||||
/**
|
||||
* React wants to include browserTime to useEffect dependencie list which will cause a delta change on every re-render
|
||||
* React wants to include browserTime to useEffect dependencies list which will cause a delta change on every re-render
|
||||
* Basically it's not recommended to disable this rule, but this is the only way to take control over the useEffect
|
||||
* dependencies and to not include the browserTime variable.
|
||||
**/
|
||||
|
|
Loading…
Reference in New Issue