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

Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
pull/6906/head
李国忠 2020-03-01 16:34:27 +08:00 committed by GitHub
parent 45fbed94d6
commit 3fff701b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.
**/