Skip to content

Commit

Permalink
fix: Eslint warnings for unnecessary deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 18, 2020
1 parent 6238799 commit 5f60c2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useApiDoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const useApiDoc = (name) => {
};
}),
};
}, [name, window.__NR1_SDK__]);
}, [name]);
};

export default useApiDoc;
2 changes: 1 addition & 1 deletion src/hooks/useComponentDoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const useComponentDoc = (componentName) => {
tagsFromComponentProperties.concat(tagsFromPropTypes)
),
};
}, [componentName, window?.__NR1_SDK__]);
}, [componentName]);
};

export default useComponentDoc;

0 comments on commit 5f60c2a

Please sign in to comment.