[comments] change word ‘dependencie’ to ‘dependencies’ (#6904)

Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
pull/6906/head
李国忠 6 years ago committed by GitHub
parent 45fbed94d6
commit 3fff701b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web/ui/react-app/src/pages/graph/PanelList.tsx

@ -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…
Cancel
Save