Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette committed Oct 12, 2023
1 parent 980dfb2 commit e8bdb3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/src/modules/components/HooksApiContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ export default function HooksApiContent(props) {
const t = useTranslate();

const hooks = Object.keys(pagesContents);
const numberOfHooks = hooks.length;

return hooks.map((key, idx) => {
return hooks.map((key) => {
const { name: hookName, parameters, returnValue, imports } = pagesContents[key];

const { parametersDescriptions, returnValueDescriptions } = descriptions[key][userLanguage];
Expand Down

0 comments on commit e8bdb3f

Please sign in to comment.